Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for firstIndex (0.09 sec)

  1. 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)
  2. 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)
Back to top