- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for forEnumeration (0.46 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
* a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext()); try { iter.next(); fail(); } catch (NoSuchElementException expected) { } } @SuppressWarnings("DoNotCall")
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) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
* a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext()); try { iter.next(); fail(); } catch (NoSuchElementException expected) { } } @SuppressWarnings("DoNotCall")
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* return an {@code UnmodifiableIterator} instead of a plain {@code Iterator}. */ public static <T extends @Nullable Object> UnmodifiableIterator<T> forEnumeration( Enumeration<T> enumeration) { checkNotNull(enumeration); return new UnmodifiableIterator<T>() { @Override public boolean hasNext() { return enumeration.hasMoreElements();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 50.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* return an {@code UnmodifiableIterator} instead of a plain {@code Iterator}. */ public static <T extends @Nullable Object> UnmodifiableIterator<T> forEnumeration( Enumeration<T> enumeration) { checkNotNull(enumeration); return new UnmodifiableIterator<T>() { @Override public boolean hasNext() { return enumeration.hasMoreElements();
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)