Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 91 for unmodifiableIterator (0.16 seconds)

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

      ImmutableMapKeySet(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
      public UnmodifiableIterator<K> iterator() {
        return map.keyIterator();
      }
    
      @Override
      @GwtIncompatible // Spliterator
      public Spliterator<K> spliterator() {
        return map.keySpliterator();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      static final int SPLITERATOR_CHARACTERISTICS =
          Spliterator.IMMUTABLE | Spliterator.NONNULL | Spliterator.ORDERED;
    
      ImmutableCollection() {}
    
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      @Override
      public final boolean add(E e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/EndpointPair.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.GraphConstants.NOT_AVAILABLE_ON_UNDIRECTED;
    
    import com.google.common.collect.Iterators;
    import com.google.common.collect.UnmodifiableIterator;
    import com.google.errorprone.annotations.Immutable;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        }
    
        @Override
        @GwtIncompatible // not used in GWT
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return entries.copyIntoArray(dst, offset);
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return entries.iterator();
        }
    
        @Override
        ImmutableList<Entry<K, V>> createAsList() {
          return entries;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link Tables}
     * </ul>
     *
     * <h2>Abstract implementations</h2>
     *
     * <ul>
     *   <li>{@link AbstractIterator}
     *   <li>{@link AbstractSequentialIterator}
     *   <li>{@link UnmodifiableIterator}
     *   <li>{@link UnmodifiableListIterator}
     * </ul>
     *
     * <h2>Forwarding collections</h2>
     *
     * We provide implementations of collections that forward all method calls to a delegate collection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMultiset.java

        } else {
          return RegularImmutableMultiset.create(entries);
        }
      }
    
      ImmutableMultiset() {}
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        return new UnmodifiableIterator<E>() {
          int remaining;
          @Nullable E element;
    
          @Override
          public boolean hasNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractIterator.java

     * @since 2.0
     */
    // When making changes to this class, please also update the copy at
    // com.google.common.base.AbstractIterator
    @GwtCompatible
    public abstract class AbstractIterator<T extends @Nullable Object> extends UnmodifiableIterator<T> {
      private State state = State.NOT_READY;
    
      /** Constructor for use by subclasses. */
      protected AbstractIterator() {}
    
      private enum State {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Sets.java

          throw new UnsupportedOperationException();
        }
    
        /**
         * Scope the return type to {@link UnmodifiableIterator} to ensure this is an unmodifiable view.
         *
         * @since 20.0 (present with return type {@link Iterator} since 2.0)
         */
        @Override
        public abstract UnmodifiableIterator<E> iterator();
    
        @Override
        @SuppressWarnings("EqualsHashCode") // same semantics
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            int size) {
          this.map = map;
          this.alternatingKeysAndValues = alternatingKeysAndValues;
          this.keyOffset = keyOffset;
          this.size = size;
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return asList().iterator();
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

     * @since 2.0
     */
    // When making changes to this class, please also update the copy at
    // com.google.common.base.AbstractIterator
    @GwtCompatible
    public abstract class AbstractIterator<T extends @Nullable Object> extends UnmodifiableIterator<T> {
      private State state = State.NOT_READY;
    
      /** Constructor for use by subclasses. */
      protected AbstractIterator() {}
    
      private enum State {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top