returns an arraylist of strings of names that have been getting less popular every decade . the strings must be in sorted order based on name . concode_field_sep ArrayList<NameRecord> _names concode_field_sep NameRecord getName concode_elem_sep ArrayList<NameRecord> getMatches concode_elem_sep ArrayList<String> rankedEveryDecade concode_elem_sep int bestDecade concode_elem_sep ArrayList<String> alwaysMorePopular concode_elem_sep ArrayList<String> rankedOnlyOneDecade
ArrayList < String > function ( ) { ArrayList < String > loc0 = new ArrayList < String > ( ) ; Iterator < NameRecord > loc1 = _names . iterator ( ) ; while ( loc1 . hasNext ( ) ) { NameRecord loc2 = loc1 . next ( ) ; if ( loc2 . lessPopular ( ) ) loc0 . add ( loc2 . getName ( ) ) ; } return loc0 ; }