@Override public void setValue(short value) { if (curKey != free) { if (expectedModCount == modCount()) { vals[index] = value; } else { throw new java.util.ConcurrentModificationException(); } } else { throw new java.lang.IllegalStateException(); } }
@Override public void setValue(short value) { if (curKey != free) { if (expectedModCount == modCount()) { vals[index] = value; } else { throw new java.util.ConcurrentModificationException(); } } else { throw new java.lang.IllegalStateException(); } }
@Override @Nonnull public ObjIterator<Map.Entry<Long, Short>> iterator() { int mc = modCount(); return new NoRemovedEntryIterator(mc); }
@Nonnull @Override public ObjCursor<Map.Entry<Long, Short>> cursor() { int mc = modCount(); return new NoRemovedEntryCursor(mc); }
@Nonnull @Override public LongShortCursor cursor() { int mc = modCount(); return new NoRemovedMapCursor(mc); }
@Nonnull @Override public LongShortCursor cursor() { int mc = modCount(); return new NoRemovedMapCursor(mc); }
@Override @Nonnull public ShortIterator iterator() { int mc = modCount(); return new NoRemovedValueIterator(mc); }
@Nonnull @Override public ShortCursor cursor() { int mc = modCount(); return new NoRemovedValueCursor(mc); }
@Override @Nonnull public ObjIterator<Map.Entry<Long, Short>> iterator() { int mc = modCount(); return new NoRemovedEntryIterator(mc); }
@Nonnull @Override public ObjCursor<Map.Entry<Long, Short>> cursor() { int mc = modCount(); return new NoRemovedEntryCursor(mc); }
@Override public Short setValue(Short newValue) { if (modCount != modCount()) throw new IllegalStateException(); short oldValue = value; short unwrappedNewValue = newValue; value = unwrappedNewValue; updateValueInTable(unwrappedNewValue); return oldValue; }
@Override @Nonnull public ShortIterator iterator() { int mc = modCount(); return new NoRemovedValueIterator(mc); }
@Override public Short setValue(Short newValue) { if (modCount != modCount()) throw new IllegalStateException(); short oldValue = value; short unwrappedNewValue = newValue; value = unwrappedNewValue; updateValueInTable(unwrappedNewValue); return oldValue; }
@Nonnull @Override public ShortCursor cursor() { int mc = modCount(); return new NoRemovedValueCursor(mc); }