Lines Matching defs:index
72 * <a href="{@docRoot}/../technotes/guides/collections/index.html">
268 int index = key.ordinal();
269 Object oldValue = vals[index];
270 vals[index] = maskNull(value);
288 int index = ((Enum)key).ordinal();
289 Object oldValue = vals[index];
290 vals[index] = null;
299 int index = ((Enum)key).ordinal();
300 if (maskNull(value).equals(vals[index])) {
301 vals[index] = null;
518 // Lower bound on index of next element to return
519 int index = 0;
525 while (index < vals.length && vals[index] == null)
526 index++;
527 return index != vals.length;
550 lastReturnedIndex = index++;
559 lastReturnedIndex = index++;
570 lastReturnedEntry = new Entry(index++);
576 ((null == lastReturnedEntry) ? -1 : lastReturnedEntry.index);
578 lastReturnedEntry.index = lastReturnedIndex;
583 private int index;
585 private Entry(int index) {
586 this.index = index;
591 return keyUniverse[index];
596 return unmaskNull(vals[index]);
601 V oldValue = unmaskNull(vals[index]);
602 vals[index] = maskNull(value);
607 if (index < 0)
614 V ourValue = unmaskNull(vals[index]);
616 return (e.getKey() == keyUniverse[index] &&
622 if (index < 0)
625 return entryHashCode(index);
629 if (index < 0)
632 return keyUniverse[index] + "="
633 + unmaskNull(vals[index]);
637 if (index < 0)
714 private int entryHashCode(int index) {
715 return (keyUniverse[index].hashCode() ^ vals[index].hashCode());