boolean function ( T arg0 ) { boolean loc0 = false ; Node loc1 = firstNode ; while ( ! loc0 && ( loc1 != null ) ) { if ( arg0 . equals ( loc1 . data ) ) loc0 = true ; else loc1 = loc1 . getNextNode ( ) ; } return loc0 ; }
tests whether this bag contains a given entry . concode_field_sep int numberOfEntries concode_elem_sep Node next concode_elem_sep T data concode_elem_sep Node firstNode concode_field_sep boolean add concode_elem_sep int getFrequencyOf concode_elem_sep void setNextNode concode_elem_sep void setData concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep T remove concode_elem_sep boolean remove concode_elem_sep Node getReferenceTo concode_elem_sep int getCurrentSize concode_elem_sep Node getNextNode concode_elem_sep boolean isArrayFull concode_elem_sep T[] toArray concode_elem_sep T getData