get the time length of the sequence . it is equal to the last itemset timestamp minus the first itemset timestamp concode_field_sep int numberOfItems concode_elem_sep List<Itemset> itemsets concode_elem_sep int id concode_field_sep int numberOfItemsAfterPositionIth concode_elem_sep int getId concode_elem_sep List<Itemset> getItemsets concode_elem_sep void addItemset concode_elem_sep Itemset remove concode_elem_sep Item remove concode_elem_sep void remove concode_elem_sep void addItem concode_elem_sep void addItem concode_elem_sep void addItem concode_elem_sep int[] SearchForItemAtTheSameItemset concode_elem_sep int size concode_elem_sep Itemset get concode_elem_sep int[] searchForTheFirstAppearance concode_elem_sep void setId concode_elem_sep int getLength concode_elem_sep String toString concode_elem_sep int[] searchForItemInAConcreteTemporalDistance concode_elem_sep Sequence cloneSequence
long function ( ) { return itemsets . get ( itemsets . size ( ) - 1 ) . getTimestamp ( ) - itemsets . get ( 0 ) . getTimestamp ( ) ; }