- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,481 for iteration (0.05 sec)
-
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that returns a single value. * * @author koichik * @param <E> the element type */ public class SingleValueIterator<E> implements Iterator<E> { /** The only value returned by the iterator. */ protected final E value;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* bytes long as the original implementation in C++. See http://cl/106539598 */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMap.java
* that approach would not lead to an infinite loop. * * @since 7.0 */ protected @Nullable V standardRemove(@Nullable Object key) { Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); while (entryIterator.hasNext()) { Entry<K, V> entry = entryIterator.next(); if (Objects.equals(entry.getKey(), key)) { V value = entry.getValue(); entryIterator.remove();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
public int hashCode() { return Sets.hashCodeImpl(this); } // This declaration is needed to make Set.iterator() and // ImmutableCollection.iterator() appear consistent to javac's type inference. @Override public abstract UnmodifiableIterator<E> iterator(); abstract static class CachingAsList<E> extends ImmutableSet<E> { @LazyInit private transient ImmutableList<E> asList; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
# Global Dependencies { #global-dependencies } For some types of applications you might want to add dependencies to the whole application. Similar to the way you can [add `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, you can add them to the `FastAPI` application. In that case, they will be applied to all the *path operations* in the application:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPutAbsentConcurrentWithEntrySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ReverseOrdering.java
@ParametricNullness E a, @ParametricNullness E b, @ParametricNullness E c, E... rest) { return forwardOrder.max(a, b, c, rest); } @Override public <E extends T> E min(Iterator<E> iterator) { return forwardOrder.max(iterator); } @Override public <E extends T> E min(Iterable<E> iterable) { return forwardOrder.max(iterable); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } else { return new AbstractSet<N>() { @Override public UnmodifiableIterator<N> iterator() { Iterator<NodeConnection<N>> nodeConnections = orderedNodeConnections.iterator(); Set<N> seenNodes = new HashSet<>(); return new AbstractIterator<N>() { @Override protected @Nullable N computeNext() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K 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-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
Iterator<Entry<K, V>> iterator = multimap().entries().iterator(); assertEquals(mapEntry(k0(), v0()), iterator.next()); iterator.remove(); assertTrue(multimap().isEmpty()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testEntriesRemainValidAfterRemove() { Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0)