- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for firstIndex (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; int firstIndex = getList().indexOf(duplicate); int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
* enough it's not especially worth it. */ abstract class Itr<T extends @Nullable Object> implements Iterator<T> { int entryIndex = backingMap.firstIndex(); int toRemove = -1; int expectedModCount = backingMap.modCount; @ParametricNullness abstract T result(int entryIndex); private void checkForConcurrentModification() {
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
ObjectCountHashMap() { init(DEFAULT_SIZE, DEFAULT_LOAD_FACTOR); } ObjectCountHashMap(ObjectCountHashMap<? extends K> map) { init(map.size(), DEFAULT_LOAD_FACTOR); for (int i = map.firstIndex(); i != -1; i = map.nextIndex(i)) { put(map.getKey(i), map.getValue(i)); } } /** * Constructs a new instance of {@code ObjectCountHashMap} with the specified capacity. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0)