- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for JdkObsolete (0.06 sec)
-
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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (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>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0)