reduce the score list to the first num results to save on ram . concode_field_sep double score concode_elem_sep int docid concode_elem_sep List<ScoreListEntry> scores concode_elem_sep String externalId concode_field_sep void add concode_elem_sep double getDocidScore concode_elem_sep int compare concode_elem_sep int size concode_elem_sep void setDocidScore concode_elem_sep void sort concode_elem_sep int getDocid
void function ( int arg0 ) { List < ScoreListEntry > loc0 = new ArrayList < ScoreListEntry > ( this . scores . subList ( 0 , Math . min ( arg0 , scores . size ( ) ) ) ) ; this . scores . clear ( ) ; this . scores = loc0 ; }