Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for listIterator (0.28 sec)

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

                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
                    return wrap((ListIterator<?>) delegate);
                  }
                });
      }
    
      private static <T> ListIterator<T> wrap(final ListIterator<T> delegate) {
        return new ForwardingListIterator<T>() {
          @Override
          protected ListIterator<T> delegate() {
            return delegate;
          }
        };
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      Stimulus<E, ListIterator<E>> hasPrevious =
          new Stimulus<E, ListIterator<E>>("hasPrevious") {
            @Override
            void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) {
              assertEquals(reference.hasPrevious(), target.hasPrevious());
            }
          };
      Stimulus<E, ListIterator<E>> nextIndex =
          new Stimulus<E, ListIterator<E>>("nextIndex") {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
                    return wrap((ListIterator<?>) delegate);
                  }
                });
      }
    
      private static <T> ListIterator<T> wrap(final ListIterator<T> delegate) {
        return new ForwardingListIterator<T>() {
          @Override
          protected ListIterator<T> delegate() {
            return delegate;
          }
        };
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. 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.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      Stimulus<E, ListIterator<E>> hasPrevious =
          new Stimulus<E, ListIterator<E>>("hasPrevious") {
            @Override
            void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) {
              assertEquals(reference.hasPrevious(), target.hasPrevious());
            }
          };
      Stimulus<E, ListIterator<E>> nextIndex =
          new Stimulus<E, ListIterator<E>>("nextIndex") {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

            0) {
          @Override
          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        try {
          getList().listIterator(-1);
          fail();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CartesianList.java

        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          int start = reversePosition(index);
          final ListIterator<T> forwardIterator = forwardList.listIterator(start);
          return new ListIterator<T>() {
    
            boolean canRemoveOrSet;
    
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top