- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 476 for iterators (0.26 sec)
-
src/main/java/org/codelibs/core/collection/LruHashSet.java
} /** * Returns an iterator over the elements in this set. The elements are * returned in no particular order. * * @return an Iterator over the elements in this set. * @see ConcurrentModificationException */ @Override public Iterator<E> iterator() { return map.keySet().iterator(); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* @return An iterator of URL objects for the resources. If no resources are found, the iterator will be empty. * Resources that the class loader does not have access to will not be included. * @see java.lang.ClassLoader#getResources(String) */ public static Iterator<URL> getResources(final String name) { assertArgumentNotEmpty("name", name);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java
} @Override public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator() { return collectionGenerator; } @Override public Iterator<E> get() { return collectionGenerator.createTestSubject().iterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
public void testAddAtIndexConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); getList().add(0, e3()); iterator.next(); }); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_unsupportedNotPresent() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * Adaptor that makes an array into an {@link Iterator}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.ArrayIterator.*; *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.util.AbstractCollection; import java.util.Collection; import java.util.Iterator; import java.util.Spliterator; import java.util.function.Predicate; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link ImmutableCollection}. * * @author Jesse Wilson */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}. * * <p>The returned range map supports all optional operations that this range map supports, except * for {@code asMapOfRanges().iterator().remove()}. * * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
return ImmutableMap.this.isHashCodeFast(); } @Override UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() { Iterator<Entry<K, V>> backingIterator = ImmutableMap.this.entrySet().iterator(); return new UnmodifiableIterator<Entry<K, ImmutableSet<V>>>() { @Override public boolean hasNext() { return backingIterator.hasNext(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
} @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testKeysEntrySetIteratorRemove() { Multiset<K> keys = multimap().keys(); Iterator<Multiset.Entry<K>> itr = keys.entrySet().iterator(); assertEquals(Multisets.immutableEntry(k0(), 1), itr.next()); itr.remove(); assertTrue(multimap().isEmpty()); } @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.3K bytes - Viewed (0)