- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for end (0.64 sec)
-
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(1, (int) iter.next()); try { iter.peek(); fail("peek() should throw NoSuchElementException at end"); } catch (NoSuchElementException expected) { } try { iter.peek(); fail("peek() should continue to throw NoSuchElementException at end"); } catch (NoSuchElementException expected) { } try { iter.next();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(1, (int) iter.next()); try { iter.peek(); fail("peek() should throw NoSuchElementException at end"); } catch (NoSuchElementException expected) { } try { iter.peek(); fail("peek() should continue to throw NoSuchElementException at end"); } catch (NoSuchElementException expected) { } try { iter.next();
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) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() { // This sample AbstractIterator returns 0 on the first call, 1 on the // second, then signals that it's reached the end of the data Iterator<Integer> iter = new AbstractIterator<Integer>() { private int rep; @Override public Integer computeNext() { switch (rep++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() { // This sample AbstractIterator returns 0 on the first call, 1 on the // second, then signals that it's reached the end of the data Iterator<Integer> iter = new AbstractIterator<Integer>() { private int rep; @Override public Integer computeNext() { switch (rep++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0)