Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for ListIterator (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
            i.set(newEntry);
            return;
          }
        }
    
        throw new IllegalArgumentException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Iterator.class, ImmutableSet.of().iterator())
              .put(PeekingIterator.class, Iterators.peekingIterator(ImmutableSet.of().iterator()))
              .put(ListIterator.class, ImmutableList.of().listIterator())
              .put(Iterable.class, ImmutableSet.of())
              .put(Collection.class, ImmutableList.of())
              .put(ImmutableCollection.class, ImmutableList.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            public int lastIndexOf(final Object o) {
                return parent.lastIndexOf(o);
            }
    
            public ListIterator<E> listIterator() {
                return parent.listIterator();
            }
    
            public ListIterator<E> listIterator(final int index) {
                return parent.listIterator(index);
            }
    
            public List<E> subList(final int fromIndex, final int toIndex) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            public int lastIndexOf(final Object o) {
                return parent.lastIndexOf(o);
            }
    
            public ListIterator<E> listIterator() {
                return parent.listIterator();
            }
    
            public ListIterator<E> listIterator(final int index) {
                return parent.listIterator(index);
            }
    
            public List<E> subList(final int fromIndex, final int toIndex) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
            i.set(newEntry);
            return;
          }
        }
    
        throw new IllegalArgumentException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex));
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return modified;
      }
    
      static <T extends @Nullable Object> Iterable<T> reverse(List<T> list) {
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            ListIterator<T> listIter = list.listIterator(list.size());
            return new Iterator<T>() {
              @Override
              public boolean hasNext() {
                return listIter.hasPrevious();
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

        public int size() {
          return realDelegate.size();
        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return realDelegate.listIterator(index);
        }
    
        @Override
        protected List<E> delegate() {
          throw new UnsupportedOperationException("This list only supports ListIterator");
        }
      }
    
      private static void assertTransformIterator(List<String> list) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top