Package com.google.api.client.util
Class Sets
- java.lang.Object
-
- com.google.api.client.util.Sets
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> HashSet<E>newHashSet()Returns a new mutable, emptyHashSetinstance.static <E extends Comparable<?>>
TreeSet<E>newTreeSet()Returns a new mutable, emptyTreeSetinstance sorted by the natural sort ordering of its elements.
-
-
-
Method Detail
-
newHashSet
public static <E> HashSet<E> newHashSet()
Returns a new mutable, emptyHashSetinstance.
-
newTreeSet
public static <E extends Comparable<?>> TreeSet<E> newTreeSet()
Returns a new mutable, emptyTreeSetinstance sorted by the natural sort ordering of its elements.
-
-