- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 797 for iterate (0.06 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
}; // When/Then assertTrue(iterator.hasNext(), "Should have first element"); SmbResource first = iterator.next(); assertNotNull(first, "First element should not be null"); assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
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) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
/** * {@inheritDoc} * * <p>The returned collection is immutable. */ @Override public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { Iterator<? extends V> iterator = values.iterator(); if (!iterator.hasNext()) { return removeAll(key); } // TODO(lowasser): investigate atomic failure? Collection<V> collection = getOrCreateCollection(key);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThat(DoubleMath.mean(ImmutableList.of(11, -22, 44, -88).iterator())) .isWithin(1.0e-10) .of(-13.75); assertThat(DoubleMath.mean(ImmutableList.of(11).iterator())).isWithin(1.0e-10).of(11); assertThrows( IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Integer>of().iterator())); } @GwtIncompatible // DoubleMath.mean
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
longManyValuesAccumulatorByAddAllIterator.addAll(LONG_MANY_VALUES.iterator()); longManyValuesAccumulatorByAddAllVarargs = new StatsAccumulator(); longManyValuesAccumulatorByAddAllVarargs.addAll(Longs.toArray(LONG_MANY_VALUES)); } private static StatsAccumulator statsAccumulatorOf(Iterable<? extends Number> values) { StatsAccumulator accumulator = new StatsAccumulator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 36.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
/** Support for {@link Iterator#remove()}. */ SUPPORTS_REMOVE, /** * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator} * implementations. */ SUPPORTS_ADD, /** * Support for {@link ListIterator#set(Object)}; ignored for plain {@link Iterator} * implementations. */ SUPPORTS_SET; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Oct 03 18:22:43 UTC 2023 - 1.9K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
// Refined Collection Methods /** * {@inheritDoc} * * <p>Elements that occur multiple times in the multiset will appear multiple times in this * iterator, though not necessarily sequentially. */ @Override Iterator<E> iterator(); /** * Determines whether this multiset contains the specified element. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
for (Class<? super T> itf : allInterfaceClasses) { Iterator<Class<?>> iterator = interfaceClasses.iterator(); boolean addToSet = true; while (iterator.hasNext()) { Class<?> current = iterator.next(); if (current == itf || itf.isAssignableFrom(current)) { // Skip any super interface of the ones that are already included.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
for (i in 0 until namesAndValues.size) { result += namesAndValues[i].length.toLong() } return result } override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator() fun newBuilder(): Builder = commonNewBuilder() /** * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0)