- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for JdkObsolete (0.16 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
CollectionSize.ANY) .suppressing(suppressForArrayList()) .createTestSuite(); } // We are testing LinkedList / testing our tests on LinkedList. @SuppressWarnings("JdkObsolete") public Test testsForLinkedList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override public List<String> create(String[] elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
* * @author Louis Wasserman */ @GwtCompatible final class SortedMultisets { private SortedMultisets() {} /** A skeleton implementation for {@link SortedMultiset#elementSet}. */ @SuppressWarnings("JdkObsolete") // TODO(b/6160855): Switch GWT emulations to NavigableSet. static class ElementSet<E extends @Nullable Object> extends Multisets.ElementSet<E> implements SortedSet<E> { @Weak private final SortedMultiset<E> multiset;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override // We are testing LinkedList / testing our tests on LinkedList. @SuppressWarnings("JdkObsolete") public Queue<String> create(String[] elements) { return new LinkedList<>(MinimalCollection.of(elements)); } }) .named("LinkedList")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override // We are testing LinkedList / testing our tests on LinkedList. @SuppressWarnings("JdkObsolete") public Queue<String> create(String[] elements) { return new LinkedList<>(MinimalCollection.of(elements)); } }) .named("LinkedList")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override // We are testing Hashtable / testing our tests on Hashtable. @SuppressWarnings("JdkObsolete") protected Map<String, String> create(Entry<String, String>[] entries) { return populate(new Hashtable<String, String>(), entries); } }) .withFeatures(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 17.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override // We are testing Hashtable / testing our tests on Hashtable. @SuppressWarnings("JdkObsolete") protected Map<String, String> create(Entry<String, String>[] entries) { return populate(new Hashtable<String, String>(), entries); } }) .withFeatures(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
Supplier<List<V>> result = (Supplier) INSTANCE; return result; } @Override // We recommend against linkedListValues but need to keep it for compatibility. @SuppressWarnings("JdkObsolete") public List<?> get() { return new LinkedList<>(); } } private static final class HashSetSupplier<V extends @Nullable Object> implements Supplier<Set<V>>, Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
Supplier<List<V>> result = (Supplier) INSTANCE; return result; } @Override // We recommend against linkedListValues but need to keep it for compatibility. @SuppressWarnings("JdkObsolete") public List<?> get() { return new LinkedList<>(); } } private static final class HashSetSupplier<V extends @Nullable Object> implements Supplier<Set<V>>, Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* syntax</a>. */ @SuppressWarnings({ "NonApiType", // acts as a direct substitute for a constructor call "JdkObsolete", // We recommend against this method but need to keep it for compatibility. }) public static <E extends @Nullable Object> LinkedList<E> newLinkedList() { return new LinkedList<>(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
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)