Package org.javers.common.collections
Class Sets
java.lang.Object
org.javers.common.collections.Sets
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Set<E>asSet(E... elements) static <E> Set<E>asSet(Collection<E> elements) static <E> Set<E>difference(Set<E> first, Set<E> second) null args are allowedstatic <E> Collection<E>difference(Set<E> first, Set<E> second, Function<E, String> hasher) null args are allowedstatic <E> Set<E>intersection(Set<E> first, Set<E> second) null args are allowedstatic <T> Set<T>static <F,T> Set<T> static Setstatic <E> Set<E>
-
Method Details
-
wrapNull
-
intersection
null args are allowed -
xor
-
difference
null args are allowed- Returns:
- mutable set
-
difference
null args are allowed -
asSet
-
asSet
-
transform
- Returns:
- ImmutableSet
-
asMap
- Returns:
- index -> value
-
toImmutableSet
-
join
-