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, emptyHashSet
instance.static <E extends Comparable<?>>
TreeSet<E>newTreeSet()
Returns a new mutable, emptyTreeSet
instance sorted by the natural sort ordering of its elements.
-
-
-
Method Detail
-
newHashSet
public static <E> HashSet<E> newHashSet()
Returns a new mutable, emptyHashSet
instance.
-
newTreeSet
public static <E extends Comparable<?>> TreeSet<E> newTreeSet()
Returns a new mutable, emptyTreeSet
instance sorted by the natural sort ordering of its elements.
-
-