public boolean findRecord ( Record r ) { for ( int i = Section . ANSWER ; i <= Section . ADDITIONAL ; i ++ ) if ( sections [ i ] != null && sections [ i ] . contains ( r ) ) return true ; return false ; }
Determines if the given record is already present in any section .