Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 476 for iterators (0.04 sec)

  1. android/guava/src/com/google/common/collect/TreeRangeSet.java

          return null;
        }
    
        @Override
        Iterator<Entry<Cut<C>, Range<C>>> entryIterator() {
          /*
           * We want to start the iteration at the first range where the upper bound is in
           * upperBoundWindow.
           */
          Iterator<Range<C>> backingItr;
          if (!upperBoundWindow.hasLowerBound()) {
            backingItr = rangesByLowerBound.values().iterator();
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPair.java

       * endpoints of a directed edge).
       */
      public abstract boolean isOrdered();
    
      /** Iterates in the order {@link #nodeU()}, {@link #nodeV()}. */
      @Override
      public final UnmodifiableIterator<N> iterator() {
        return Iterators.forArray(nodeU, nodeV);
      }
    
      /**
       * Two ordered {@link EndpointPair}s are equal if their {@link #source()} and {@link #target()}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(CharSink.class, NullByteSink.INSTANCE.asCharSink(UTF_8))
              // All collections are immutable empty. So safe for any type parameter.
              .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())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

              return standardToArray(array);
            }
          };
        }
    
        private static <K, V extends @Nullable Object> Iterator<Entry<K, V>> transformEntries(
            Iterator<Entry<K, V>> entries) {
          return Iterators.transform(entries, UnmodifiableEntry::new);
        }
    
        private UnmodifiableEntry(Entry<K, V> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              protected @Nullable E computeNext() {
                if (itr1.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/StandardTable.java

      }
    
      @Override
      Iterator<Cell<R, C, V>> cellIterator() {
        return new CellIterator();
      }
    
      private final class CellIterator implements Iterator<Cell<R, C, V>> {
        final Iterator<Entry<R, Map<C, V>>> rowIterator = backingMap.entrySet().iterator();
        @Nullable Entry<R, Map<C, V>> rowEntry;
        Iterator<Entry<C, V>> columnIterator = Iterators.emptyModifiableIterator();
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    
    /**
     * Creates iterators to be tested.
     *
     * @param <E> the element type of the iterator.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface TestIteratorGenerator<E> {
      Iterator<E> get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 938 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    
    /**
     * Creates iterators to be tested.
     *
     * @param <E> the element type of the iterator.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface TestIteratorGenerator<E> {
      Iterator<E> get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 938 bytes
    - Viewed (0)
Back to top