- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 282 for hasNext (0.05 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 26K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
private int nextIndex; /** * nextItem holds on to item fields because once we claim that an element exists in hasNext(), * we must return it in the following next() call even if it was in the process of being removed * when hasNext() was called. */ private @Nullable E nextItem; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertFalse(cycle.iterator().hasNext()); } public void testCycle_removingAllElementsStopsCycle() { FluentIterable<Integer> cycle = fluent(1, 2).cycle(); Iterator<Integer> iterator = cycle.iterator(); iterator.next(); iterator.remove(); iterator.next(); iterator.remove(); assertFalse(iterator.hasNext()); assertFalse(cycle.iterator().hasNext()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
assertTrue(set.size() > 0, "No Artifacts"); Iterator iter = set.iterator(); assertTrue(set.size() == 4, "Set size should be 4, is " + set.size()); while (iter.hasNext()) { Artifact artifact = (Artifact) iter.next(); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */ @ParametricNullness E peek(); /** * {@inheritDoc} * * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
for (Iterator<Map.Entry<String, Object>> i = hmap.entrySet().iterator(); i.hasNext();) { i.next(); } System.out.println("HashMap iteration:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (Iterator<Map.Entry<String, Object>> i = amap.entrySet().iterator(); i.hasNext();) { i.next(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
} // Search for the certificate in the chain that signed this certificate. This is typically // the next element in the chain, but it could be any element. val i = queue.iterator() while (i.hasNext()) { val signingCert = i.next() as X509Certificate if (verifySignature(toVerify, signingCert, result.size - 1)) { i.remove() result.add(signingCert) continue@followIssuerChain
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/mdo/paramdoc.mdo
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0)