int function ( Itemset arg0 , Itemset arg1 ) { long loc0 = arg0 . getTimestamp ( ) ; long loc1 = arg1 . getTimestamp ( ) ; if ( loc0 < loc1 ) { return - 1 ; } return 1 ; }
comparator class that compares two itemsets by timestamp . concode_field_sep int numberOfItems concode_elem_sep List<Itemset> itemsets concode_elem_sep int id concode_field_sep void addItem concode_elem_sep int size concode_elem_sep Itemset get concode_elem_sep int length concode_elem_sep void setID concode_elem_sep int getId concode_elem_sep String toString concode_elem_sep long getTimeLength concode_elem_sep List<Itemset> getItemsets concode_elem_sep void addItemset concode_elem_sep Itemset remove concode_elem_sep Item remove concode_elem_sep Sequence cloneSequence