void function ( Iterator arg0 , Comparator arg1 ) { m_tuples . clear ( ) ; m_cmp = arg1 ; while ( arg0 . hasNext ( ) ) { Tuple loc0 = ( Tuple ) arg0 . next ( ) ; m_tuples . add ( loc0 ) ; } Collections . sort ( m_tuples , m_cmp ) ; m_iter = m_tuples . iterator ( ) ; }
initialize this iterator for the given source iterator and comparator . concode_field_sep Iterator m_iter concode_elem_sep Comparator m_cmp concode_elem_sep ArrayList m_tuples concode_field_sep Object next concode_elem_sep boolean hasNext concode_elem_sep void remove