Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTreeSet (0.44 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <E extends Comparable> TreeSet<E> newTreeSet(Iterable<? extends E> elements) {
        TreeSet<E> set = newTreeSet();
        Iterables.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeSet} instance with the given comparator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top