Sets.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the generic type of the T> HashSetHashSet to create. | |
| public static < the generic type of the T> HashSetHashSet to create. | Returns: the createdHashSet, or null if the given array of elements is null.the elements to store in the elements)HashSet.Creates a mutable |
| public static < the generic type of the T> LinkedHashSetLinkedHashSet to create. | |
| public static < the generic type of the T> LinkedHashSetLinkedHashSet to create. | Returns: the createdLinkedHashSet, or null if the given array of elements is null.the elements to store in the elements)LinkedHashSet.Creates a mutable |
| public static < the generic type of the T> TreeSetTreeSet to create. | |
| public static < the generic type of the T> TreeSetTreeSet to create. | newTreeSet(T...
the elements to store in the elements)TreeSet.Creates a mutable |
| public static < the generic type of the T> SetHashSet to create. | Returns: the createdHashSet, or null if the given array of elements is null.the elements to store in the elements)HashSet.Creates a mutable |
| Sets | back to summary |
|---|---|
| private Sets() | |
| newHashSet | back to summary |
|---|---|
| public static <T> HashSet Creates a mutable
| |
| newHashSet | back to summary |
|---|---|
| public static <T> HashSet Creates a mutable | |
| newLinkedHashSet | back to summary |
|---|---|
| public static <T> LinkedHashSet Creates a mutable
| |
| newLinkedHashSet | back to summary |
|---|---|
| public static <T> LinkedHashSet Creates a mutable
| |
| newTreeSet | back to summary |
|---|---|
| public static <T> TreeSet Creates a mutable | |
| newTreeSet | back to summary |
|---|---|
| public static <T> TreeSet Creates a mutable | |
| set | back to summary |
|---|---|
| public static <T> Set Creates a mutable
| |