Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 797 for iterate (0.08 sec)

  1. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

       * actual implementation tests are further down.
       */
    
      public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
          extends TestCase {
        abstract C createUnfiltered(Iterable<Integer> contents);
    
        abstract C filter(C elements, Predicate<? super Integer> predicate);
    
        public void testIterationOrderPreserved() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          @Override
          public UnmodifiableIterator<E> iterator() {
            Iterable<E> incidentEdges =
                (selfLoopCount == 0)
                    ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet())
                    : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet());
            return Iterators.unmodifiableIterator(incidentEdges.iterator());
          }
    
          @Override
          public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("Happy path: iterates entries, fetchMore(), then closes with FindClose2")
        void iteratesAndFetchesMoreThenCloses() throws Exception {
            // Arrange: program send() to simulate first, next, next(NO_MORE_FILES)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/sequences/ConstrainedOnceSequence;->iterator()Ljava/util/Iterator;
    HSPLkotlin/sequences/SequencesKt;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
    HSPLkotlin/sequences/SequencesKt__SequencesKt$asSequence$$inlined$Sequence$1;-><init>(Ljava/util/Iterator;)V
    HSPLkotlin/sequences/SequencesKt__SequencesKt$asSequence$$inlined$Sequence$1;->iterator()Ljava/util/Iterator;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          iterator.remove();
        }
      }
    
      /** ValueIterator build on top of EntryIterator. */
      final class ValueIterator implements Iterator<V> {
        private EntryIterator iterator;
    
        ValueIterator() {
          iterator = new EntryIterator();
        }
    
        @Override
        public boolean hasNext() {
          return iterator.hasNext();
        }
    
        @Override
        public V next() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        Iterator<Currency> iter = bimap.keySet().iterator();
        assertEquals(Currency.DOLLAR, iter.next());
        iter.remove();
    
        // forward map ordered by currency
        assertThat(bimap.keySet()).containsExactly(Currency.FRANC, Currency.PESO).inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

       * (`implements Function<@PolyNull A, @PolyNull B>`), at least as far as I know.)
       */
      public Iterable<B> convertAll(Iterable<? extends A> fromIterable) {
        checkNotNull(fromIterable, "fromIterable");
        return () ->
            new Iterator<B>() {
              private final Iterator<? extends A> fromIterator = fromIterable.iterator();
    
              @Override
              public boolean hasNext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top