public class NewSet extends Object
| Constructor and Description |
|---|
NewSet() |
| Modifier and Type | Method and Description |
|---|---|
static <E> Set<E> |
copyOf(Collection<E> elements) |
static <E> Set<E> |
copyOf(E[] elements) |
static <E> Set<E> |
of() |
static <E> Set<E> |
of(E... elements) |
static <E> Set<E> |
of(E element) |
Copyright © 2022. All rights reserved.