- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for nextIndexAfterRemove (0.26 sec)
-
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
@Override public void remove() { checkForConcurrentModification(); CollectPreconditions.checkRemove(toRemove != -1); size -= backingMap.removeEntry(toRemove); entryIndex = backingMap.nextIndexAfterRemove(entryIndex, toRemove); toRemove = -1; expectedModCount = backingMap.modCount; } } @Override final Iterator<E> elementIterator() { return new Itr<E>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
return table.length - 1; } int firstIndex() { return (size == 0) ? -1 : 0; } int nextIndex(int index) { return (index + 1 < size) ? index + 1 : -1; } int nextIndexAfterRemove(int oldNextIndex, @SuppressWarnings("unused") int removedIndex) { return oldNextIndex - 1; } int size() { return size; } @SuppressWarnings("unchecked") @ParametricNullness
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0)