- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for JdkObsolete (0.55 seconds)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints)); return vector.elements(); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints)); return vector.elements(); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
* you have a {@link Collection}), or {@code Iterators.asEnumeration(collection.iterator())}. */ // This is an adapter for cases in which users do need an Enumeration for whatever reason. @SuppressWarnings("JdkObsolete") public static <T extends @Nullable Object> Enumeration<T> asEnumeration(Iterator<T> iterator) { checkNotNull(iterator); return new Enumeration<T>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* you have a {@link Collection}), or {@code Iterators.asEnumeration(collection.iterator())}. */ // This is an adapter for cases in which users do need an Enumeration for whatever reason. @SuppressWarnings("JdkObsolete") public static <T extends @Nullable Object> Enumeration<T> asEnumeration(Iterator<T> iterator) { checkNotNull(iterator); return new Enumeration<T>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0)