Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for listIterator (0.34 sec)

  1. guava/src/com/google/common/collect/UnmodifiableListIterator.java

    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A list iterator that does not support {@link #remove}, {@link #add}, or {@link #set}.
     *
     * @since 7.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    public abstract class UnmodifiableListIterator<E extends @Nullable Object>
        extends UnmodifiableIterator<E> implements ListIterator<E> {
      /** Constructor for use by subclasses. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/opensearch/user/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                final int localPort, final String hostName) {
            SmbTransport conn;
    
            synchronized (CONNECTIONS) {
                if (SSN_LIMIT != 1) {
                    final ListIterator iter = CONNECTIONS.listIterator();
                    while (iter.hasNext()) {
                        conn = (SmbTransport) iter.next();
                        if (conn.matches(address, port, localAddr, localPort, hostName)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    import static com.google.common.base.Preconditions.checkPositionIndex;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top