@Override public void setValue(long 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(long 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(long 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(long value) { if (curKey != free) { if (expectedModCount == modCount()) { vals[index] = value; } else { throw new java.util.ConcurrentModificationException(); } } else { throw new java.lang.IllegalStateException(); } }
@Override public Long setValue(Long newValue) { if (modCount != modCount()) throw new IllegalStateException(); long oldValue = value; long unwrappedNewValue = newValue; value = unwrappedNewValue; updateValueInTable(unwrappedNewValue); return oldValue; }
@Override public Long setValue(Long newValue) { if (modCount != modCount()) throw new IllegalStateException(); long oldValue = value; long unwrappedNewValue = newValue; value = unwrappedNewValue; updateValueInTable(unwrappedNewValue); return oldValue; }
@Nonnull @Override public ObjCursor<Map.Entry<Short, Long>> cursor() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedEntryCursor( mc); return new NoRemovedEntryCursor( mc); }
@Nonnull @Override public ShortLongCursor cursor() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedMapCursor( mc); return new NoRemovedMapCursor(mc); }
@Nonnull @Override public LongCursor cursor() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedValueCursor( mc); return new NoRemovedValueCursor( mc); }
@Override @Nonnull public ObjIterator<Map.Entry<Short, Long>> iterator() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedEntryIterator( mc); return new NoRemovedEntryIterator( mc); }
@Override @Nonnull public ObjIterator<Map.Entry<Short, Long>> iterator() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedEntryIterator( mc); return new NoRemovedEntryIterator( mc); }
@Nonnull @Override public ShortLongCursor cursor() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedMapCursor( mc); return new NoRemovedMapCursor(mc); }
@Nonnull @Override public ObjCursor<Map.Entry<Short, Long>> cursor() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedEntryCursor( mc); return new NoRemovedEntryCursor( mc); }
@Override @Nonnull public LongIterator iterator() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedValueIterator( mc); return new NoRemovedValueIterator( mc); }
@Override @Nonnull public LongIterator iterator() { int mc = modCount(); if (!noRemoved()) return new SomeRemovedValueIterator( mc); return new NoRemovedValueIterator( mc); }