Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for listIterator (0.05 sec)

  1. 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() {
        assertNotNull(getList().listIterator(getNumElements()));
        // TODO: run the iterator through ListIteratorTester
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. 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() {
        assertNotNull(getList().listIterator(getNumElements()));
        // TODO: run the iterator through ListIteratorTester
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. 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);
          ListIterator<T> forwardIterator = forwardList.listIterator(start);
          return new ListIterator<T>() {
    
            boolean canRemoveOrSet;
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CartesianList.java

      public int indexOf(@Nullable Object o) {
        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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.lastIndexOf(o);
        }
    
        @Override
        public ListIterator<Map<String, Object>> listIterator() {
            return parent.listIterator();
        }
    
        @Override
        public ListIterator<Map<String, Object>> listIterator(final int index) {
            return parent.listIterator(index);
        }
    
        @Override
        public Map<String, Object> remove(final int index) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          removeAllNodes(current.getKey());
          current = null;
          expectedModCount = modCount;
        }
      }
    
      /** A {@code ListIterator} over values for a specified key. */
      private final class ValueForKeyIterator implements ListIterator<V> {
        @ParametricNullness final K key;
        int nextIndex;
        @Nullable Node<K, V> next;
        @Nullable Node<K, V> current;
        @Nullable Node<K, V> previous;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

        return delegateList;
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast!
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        /** ListIterator decorator. */
        private final class WrappedListIterator extends WrappedIterator implements ListIterator<V> {
          WrappedListIterator() {}
    
          WrappedListIterator(int index) {
            super(getListDelegate().listIterator(index));
          }
    
          private ListIterator<V> getDelegateListIterator() {
            return (ListIterator<V>) getDelegateIterator();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                      public int size() {
                        return list.size();
                      }
    
                      @Override
                      public ListIterator<String> listIterator(int index) {
                        return list.listIterator(index);
                      }
                    };
                  }
                })
            .named("AbstractSequentialList")
            .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top