Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for JdkObsolete (0.06 seconds)

  1. guava/src/com/google/common/collect/ForwardingSortedSet.java

     * @since 2.0
     */
    @GwtCompatible
    /*
     * We provide and encourage use of ForwardingNavigableSet over this class, but we still provide this
     * one to preserve compatibility.
     */
    @SuppressWarnings("JdkObsolete")
    public abstract class ForwardingSortedSet<E extends @Nullable Object> extends ForwardingSet<E>
        implements SortedSet<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedSet() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. 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(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. 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(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  4. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  5. 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 {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  6. 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<>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        @Override
        /*
         * We need a Queue that implements equals() for the equality tests we perform after
         * reserializing the multimap.
         */
        @SuppressWarnings("JdkObsolete")
        public Queue<Integer> getImpl() {
          return new LinkedList<>();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  8. 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<>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top