- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 681 for Iterator (1.03 sec)
-
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.sameInstance; import static org.junit.Assert.assertThat; import java.net.URL; import java.net.URLClassLoader; import java.util.Iterator; import junit.framework.TestCase; import org.junit.Test; /** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
* contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue static <T> Set<T> sanityCheckSet(Set<T> set) { assertThat(set).hasSize(Iterators.size(set.iterator())); for (Object element : set) { assertThat(set).contains(element); } assertThat(set).doesNotContain(new Object());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
private val collectionTypeStrings = mapOf( "java.lang.Iterable" to "kotlin.collections.Iterable", "java.util.Iterator" to "kotlin.collections.Iterator", "java.util.ListIterator" to "kotlin.collections.ListIterator", "java.util.Collection" to "kotlin.collections.Collection", "java.util.List" to "kotlin.collections.List",Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 08 07:02:19 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
} /** * Returns an iterator over the cache's current entries. This iterator doesn't throw * `ConcurrentModificationException`, but if new entries are added while iterating, those new * entries will not be returned by the iterator. If existing entries are removed during iteration, * they will be absent (unless they were already returned). *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
: copyOf(elements.iterator()); } /** * Returns an immutable set containing each of {@code elements}, minus duplicates, in the order * each appears first in the source iterator. * * @throws NullPointerException if any of {@code elements} is null */ public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2) { if (r1.size() != r2.size()) { return false; } for (Iterator<RemoteRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) { if (!repositoryEquals(it1.next(), it2.next())) { return false; } } return true; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 04 18:33:16 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
* half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() { @Override public Iterator<T> iterator() { return collection.iterator(); } }; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableLongArray.of())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Cache<Integer, Integer> cache = CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build(); cache.put(10, 20); Iterator<Integer> iterator = cache.asMap().values().iterator(); iterator.next(); iterator.remove(); assertThat(cache.size()).isEqualTo(0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 14.8K bytes - Viewed (0)