- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NextElement (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testAsEnumerationTypical() { Iterator<Integer> iter = ImmutableList.of(1, 2, 3).iterator(); Enumeration<Integer> enumer = Iterators.asEnumeration(iter); assertTrue(enumer.hasMoreElements()); assertEquals(1, (int) enumer.nextElement()); assertTrue(enumer.hasMoreElements()); assertEquals(2, (int) enumer.nextElement());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testAsEnumerationTypical() { Iterator<Integer> iter = ImmutableList.of(1, 2, 3).iterator(); Enumeration<Integer> enumer = Iterators.asEnumeration(iter); assertTrue(enumer.hasMoreElements()); assertEquals(1, (int) enumer.nextElement()); assertTrue(enumer.hasMoreElements()); assertEquals(2, (int) enumer.nextElement());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
long k; /* * First request w/ interim response */ try { req.setBuffer(getContext().getBufferCache().getBuffer()); req.nextElement(); if ( req.hasMoreElements() ) { SmbComBlankResponse interim = new SmbComBlankResponse(getContext().getConfig()); super.sendrecv(req, interim, params);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
public boolean hasNext() { return enumeration.hasMoreElements(); } @Override @ParametricNullness public T next() { return enumeration.nextElement(); } }; } /** * Adapts an {@code Iterator} to the {@code Enumeration} interface. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0)