public static class CollectionUtils.Set extends Object
| Constructor and Description |
|---|
Set() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<T> |
of(T... elements)
Returns an ordered set containing the provided elements
|
@SafeVarargs public static <T> Set<T> of(T... elements)
T - the type of the elementselements - the elements to add to the setCopyright © 2022. All rights reserved.