debugger/enhanced_text_model/src/main/com/thesett/aima/logic/fol/wam/debugger/text/AttributeGridImpl.java
private AttributeSet getRowAttributeOrNull(int r)
    {
        if ((r >= 0) && (r < rowAttributes.size()))
        {
            return rowAttributes.get(r);
        }
        else
        {
            return null;
        }
    }
private AttributeSet getRowAttributeOrNull(int r)
    {
        if ((r >= 0) && (r < rowAttributes.size()))
        {
            return rowAttributes.get(r);
        }
        else
        {
            return null;
        }
    }
private AttributeSet getRowAttributeOrNull ( int r ) { if ( ( r >= 0 ) && ( r < rowAttributes . size ( ) ) ) { return rowAttributes . get ( r ) ; } else { return null ; } }
Gets a rows attribute if possible, without overflowing the underlying array.

@param  r The row to get the attributes for.

@return The row attributes or <tt>null</tt> if none are set.
Gets a rows attribute if possible without overflowing the underlying array .