public final class SimpleSet
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> java.util.Set<T> |
of()
Of set.
|
static <T> java.util.Set<T> |
of(T... objects)
Of set.
|
public static <T> java.util.Set<T> of()
T
- the type parameter@SafeVarargs public static <T> java.util.Set<T> of(T... objects)
T
- the type parameterobjects
- the objects