Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for diamond (0.05 sec)

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

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @GwtCompatible(serializable = true)
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top