int
boolean
242243244245246247248249250251252
cursor = 0; while (cursor < pairs.length) { int pos = pairs[cursor++]; float val = (float) pairs[cursor++]; if (results.containsKey(pos)) { val = results.get(pos) + val; results.put(pos, val); if (val > max) { max = val; }