question: count cumulative index for chromosomes before given chromosome . concode_field_sep LinkedHashMap<String,IntArrayList> locations concode_elem_sep LinkedHashMap<String,DoubleArrayList> values concode_elem_sep DescriptionCache descriptionCache concode_elem_sep double maxValue concode_elem_sep Logger log concode_elem_sep IntArrayList fileIndex concode_field_sep void addLocations concode_elem_sep DescriptionCache getDescriptionCache concode_elem_sep LinkedHashMap<String,DoubleArrayList> getValues concode_elem_sep double getMaxValue concode_elem_sep LinkedHashMap<String,IntArrayList> getLocations concode_elem_sep int getNearestIndexByLocation concode_elem_sep void addLocation concode_elem_sep void addValues concode_elem_sep IntArrayList getFileIndex concode_elem_sep void addValue
target: int function ( String arg0 ) { Object [ ] loc0 = this . locations . keySet ( ) . toArray ( ) ; int loc1 = 0 ; int loc2 = 0 ; while ( loc1 < loc0 . length && ! loc0 [ loc1 ] . toString ( ) . equals ( arg0 ) ) { loc2 += locations . get ( loc0 [ loc1 ] . toString ( ) ) . size ( ) ; loc1 ++ ; } return loc2 ; }