Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for AbstractIndexedListIterator (0.32 sec)

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

     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
      private final int size;
      private int position;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
      private final int size;
      private int position;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

              return ArrayMap.this.setValue(index, value);
            }
          };
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
          return new AbstractIndexedListIterator<Entry<K, V>>(size()) {
            @Override
            protected Entry<K, V> get(final int index) {
              return getEntry(index);
            }
          };
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return new AbstractIndexedListIterator<E>(size(), index) {
          @Override
          protected E get(int index) {
            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
      public ImmutableList<E> asList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

      @SuppressWarnings("ClassInitializationDeadlock")
      private static final UnmodifiableListIterator<Object> EMPTY_ITR =
          new Itr<Object>(RegularImmutableList.EMPTY, 0);
    
      static class Itr<E> extends AbstractIndexedListIterator<E> {
        private final ImmutableList<E> list;
    
        Itr(ImmutableList<E> list, int index) {
          super(list.size(), index);
          this.list = list;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

          @Override
          public Iterator<T> iterator() {
            return Iterators.concat(
                /* lazily generate the iterators on each input only as needed */
                new AbstractIndexedListIterator<Iterator<? extends T>>(inputs.length) {
                  @Override
                  public Iterator<? extends T> get(int i) {
                    return inputs[i].iterator();
                  }
                });
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return new AbstractIndexedListIterator<E>(size(), index) {
          @Override
          protected E get(int index) {
            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Iterator<Set<E>> iterator() {
          return new AbstractIndexedListIterator<Set<E>>(size()) {
            @Override
            protected Set<E> get(final int setBits) {
              return new SubSet<>(inputSet, setBits);
            }
          };
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
        ArrayItr(T[] array, int position) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top