public class Sets extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E> Set<E> |
asSet(Collection<E> elements) |
static <E> Set<E> |
asSet(E... elements) |
static <E> Set<E> |
difference(Set<E> first,
Set<E> second)
null args are allowed
|
static <E> Set<E> |
intersection(Set<E> first,
Set<E> second)
null args are allowed
|
static <F,T> Set<T> |
transform(Set<F> input,
Function<F,T> transformation) |
Copyright © 2014. All rights reserved.