Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 797 for iterate (0.14 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                // Then
                assertNotNull(children1, "All children iterator should not be null");
                assertNotNull(children2, "Wildcard children iterator should not be null");
                assertNotNull(children3, "Name filter children iterator should not be null");
                assertNotNull(children4, "Resource filter children iterator should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/AbstractIterator.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency
     * reasons).
     */
    @GwtCompatible
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return getEntryNullReplaces().getValue();
      }
    
      protected K getKeyForNullValue() {
        return getEntryNullReplaces().getKey();
      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      protected void initMultimapWithNullKey() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EdgesConnecting.java

        this.nodeToOutEdge = checkNotNull(nodeToEdgeMap);
        this.targetNode = checkNotNull(targetNode);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        E connectingEdge = getConnectingEdge();
        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       *
       * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods
       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
       *   inherit an implementation that forwards to the delegate collection, which performs no
       *   holdsLock assertions.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            StringBuilder builder = new StringBuilder();
            builder.append("type:").append(getType());
            builder.append('{');
    
            Iterator<Map.Entry<String, RequirementMatcher>> providesIter =
                    provides.entrySet().iterator();
            while (providesIter.hasNext()) {
                Map.Entry<String, RequirementMatcher> provideEntry = providesIter.next();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object one = new Object();
        cache.getUnchecked(one);
        CacheStats stats = cache.stats();
        assertEquals(1, stats.requestCount());
        assertEquals(0, stats.hitCount());
        assertThat(stats.hitRate()).isEqualTo(0.0);
        assertEquals(1, stats.missCount());
        assertThat(stats.missRate()).isEqualTo(1.0);
        assertEquals(1, stats.loadCount());
        long totalLoadTime = stats.totalLoadTime();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) {
        this.valueStrengths = new LinkedHashSet<>(valueStrengths);
        return this;
      }
    
      Iterable<CacheBuilder<Object, Object>> buildAllPermutations() {
        Iterable<List<Object>> combinations =
            buildCartesianProduct(
                concurrencyLevels,
                initialCapacities,
                maximumSizes,
                expireAfterWrites,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
            public Iterator<Entry<K, V>> iterator() {
              return backingMap.entrySet().iterator();
            }
          };
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top