public abstract class Sets extends Object
| Constructor and Description |
|---|
Sets() |
| Modifier and Type | Method and Description |
|---|---|
static <S> HashSet<S> |
newHashSet() |
static <S> HashSet<S> |
newHashSet(Collection<? extends S> items) |
static <S> HashSet<S> |
newHashSet(S... items) |
static <S> LinkedHashSet<S> |
newLinkedHashSet() |
static <S> LinkedHashSet<S> |
newLinkedHashSet(Collection<? extends S> items) |
static <S extends Comparable<S>> |
newTreeSet() |
static <S> TreeSet<S> |
newTreeSet(Comparator<? super S> comparator) |
public static <S> HashSet<S> newHashSet()
@SafeVarargs public static <S> HashSet<S> newHashSet(S... items)
public static <S> HashSet<S> newHashSet(Collection<? extends S> items)
public static <S> LinkedHashSet<S> newLinkedHashSet()
public static <S> LinkedHashSet<S> newLinkedHashSet(Collection<? extends S> items)
public static <S extends Comparable<S>> TreeSet<S> newTreeSet()
public static <S> TreeSet<S> newTreeSet(Comparator<? super S> comparator)
Copyright © 2024 OpenClover.org. All rights reserved.