boolean function ( int arg0 , List < Integer > arg1 ) { if ( ( this . df > 1 ) && ( this . postings . get ( this . df - 1 ) . arg0 >= arg0 ) ) return false ; DocPosting loc0 = new DocPosting ( arg0 , arg1 ) ; this . postings . add ( loc0 ) ; this . df ++ ; this . ctf += loc0 . tf ; return true ; }
append a posting to the posting list . posting must be appended in docid order , otherwise this method fails . concode_field_sep int ctf concode_elem_sep int tf concode_elem_sep String field concode_elem_sep Vector<DocPosting> postings concode_elem_sep Vector<Integer> positions concode_elem_sep int df concode_elem_sep int docid concode_field_sep void print concode_elem_sep int getTf concode_elem_sep int getDocid