boolean function ( Object [ ] arg0 , Object arg1 ) { if ( arg0 == null ) return false ; for ( int loc0 = 0 ; loc0 < arg0 . length ; ++ loc0 ) { if ( arg1 == null && arg0 [ loc0 ] == null ) return true ; if ( arg1 != null && arg1 . equals ( arg0 [ loc0 ] ) ) return true ; } return false ; }
checks to see if an array contains an item . works on unsorted arrays . if the array is null this method will always return false . if the item is null , will return true if the array contains a null entry , false otherwise . in all other cases , item.equals is used to determine equality . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean applies concode_elem_sep Object[] asObjectArray concode_elem_sep List<Object> asList concode_elem_sep List<T> asList concode_elem_sep boolean empty