returns the number of words with fewer zs than x , where x is some key in the map . if x is not part of the map , return -1 . concode_field_sep boolean needsUpdating concode_elem_sep TreeMap<String,Integer> countMap concode_elem_sep TreeMap<String,Integer> fewerZsCount concode_field_sep int compare concode_elem_sep int zCount concode_elem_sep int count concode_elem_sep void main concode_elem_sep void put concode_elem_sep void updateFewerZsCount
int function ( String arg0 ) { if ( ! countMap . containsKey ( arg0 ) ) { return - 1 ; } if ( needsUpdating ) { updateFewerZsCount ( ) ; needsUpdating = false ; } return fewerZsCount . get ( arg0 ) ; }