- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 882 for nextUp (0.27 sec)
-
guava/src/com/google/common/collect/AbstractIterator.java
// Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`. T result = uncheckedCastNullableTToT(next); next = null; return result; } /** * Returns the next element in the iteration without advancing the iteration, according to the * contract of {@link PeekingIterator#peek()}. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Mar 18 02:04:10 GMT 2022 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext()); try { iter.next(); fail("no exception thrown");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
while ( chld.hasNext() ) { try ( SmbResource next = chld.next() ) { if ( next.isDirectory() ) { try (CloseableIterator<SmbResource> children = next.children()) { } } names.add(next.getName()); } } } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at last element", "C", peekingIterator.peek()); assertEquals( "Should be able to peek() last element multiple times", "C", peekingIterator.peek()); assertEquals( "next() should still return last element after peeking", "C", peekingIterator.next()); try { peekingIterator.peek(); fail("Should throw exception if no next to peek()");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals((Integer) 12, it.next()); assertEquals((Integer) 30, it.next()); assertEquals((Integer) 40, it.next()); // Skipping 20 assertEquals((Integer) 11, it.next()); // Not skipping 400, because it moved back down assertEquals((Integer) 400, it.next()); assertEquals((Integer) 13, it.next()); assertEquals((Integer) 200, it.next()); assertEquals((Integer) 300, it.next());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} // This pod should be enmeshed with the CNI ip, even tho the pod status had no ip fs.On("AddPodToMesh", ctx, pod, []netip.Addr{netip.MustParseAddr(fakePodIP)}, valid.Netns, ).Return(nil) dpServer := &meshDataplane{ kubeClient: client.Kube(), netServer: fs, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(cycle.hasNext()); assertEquals("a", cycle.next()); cycle.remove(); assertEquals(Collections.singletonList("b"), iterable); assertTrue(cycle.hasNext()); assertEquals("b", cycle.next()); assertTrue(cycle.hasNext()); assertEquals("b", cycle.next()); cycle.remove(); assertEquals(Collections.emptyList(), iterable); assertFalse(cycle.hasNext()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
@Override @ParametricNullness public T next() { T next = iterator.next(); iterator.remove(); return next; } @Override public String toString() { return "Iterators.consumingIterator(...)"; } }; } /** * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0)