Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for listIterator (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

    package com.google.common.collect;
    
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Tests for UnmodifiableListIterator.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingList.java

      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
      public ListIterator<E> listIterator(int index) {
        return delegate().listIterator(index);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E remove(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingList.java

      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
      public ListIterator<E> listIterator(int index) {
        return delegate().listIterator(index);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E remove(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

      }
    
      @Override
      protected final Iterable<? extends Stimulus<E, ? super ListIterator<E>>> getStimulusValues() {
        List<Stimulus<E, ? super ListIterator<E>>> list = new ArrayList<>();
        Helpers.addAll(list, iteratorStimuli());
        Helpers.addAll(list, listIteratorStimuli());
        return list;
      }
    
      @Override
      protected abstract ListIterator<E> newTargetIterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_ADD,
      /**
       * Support for {@link ListIterator#set(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_SET;
    
      /**
       * A set containing none of the optional features of the {@link Iterator} or {@link ListIterator}
       * interfaces.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
      public void testListIterator_tooHigh() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1));
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
      public void testListIterator_tooHigh() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1));
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardLastIndexOf(element);
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator() {
          return listIterator(0);
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return standardListIterator(index);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardLastIndexOf(element);
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator() {
          return listIterator(0);
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return standardListIterator(index);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                return parent.lastIndexOf(o);
            }
    
            @Override
            public ListIterator<E> listIterator() {
                return parent.listIterator();
            }
    
            @Override
            public ListIterator<E> listIterator(final int index) {
                return parent.listIterator(index);
            }
    
            @Override
            public List<E> subList(final int fromIndex, final int toIndex) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top