it searchs for the given item by means of a lineal search concode_field_sep List<Item> items concode_elem_sep long timestamp concode_field_sep void addItem concode_elem_sep void addItem concode_elem_sep boolean removeItem concode_elem_sep Item removeItem concode_elem_sep List<Item> getItems concode_elem_sep Itemset cloneItemset concode_elem_sep int size concode_elem_sep long getTimestamp concode_elem_sep Item get concode_elem_sep String toString concode_elem_sep int binarySearch concode_elem_sep void setTimestamp
int function ( Item arg0 ) { for ( int loc0 = 0 ; loc0 < items . size ( ) ; loc0 ++ ) { Item loc1 = items . get ( loc0 ) ; int loc2 = loc1 . compareTo ( arg0 ) ; if ( loc2 == 0 ) { return loc0 ; } else if ( loc2 < 0 ) { break ; } } return - 1 ; }