public class Arrays2 extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Set<T> |
asSet(T... array)
Create a set from an array.
|
public static <T> Set<T> asSet(T... array)
T
- the type of the objects in the setarray
- the array from which to create the setCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.