Package org.mapstruct.ap.internal.util
Class Collections
java.lang.Object
org.mapstruct.ap.internal.util.Collections
Provides utility methods around collections.
- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Set<T> asSet(Collection<T> collection, Collection<T>... elements) static <T> Set<T> asSet(Collection<T> collection, T... elements) static <T> Set<T> asSet(T... elements) static <T> Tfirst(Collection<T> collection) static <K,V> Map.Entry <K, V> static <K,V> K static <K,V> V firstValue(Map<K, V> map) static <T> List<T> static <T> T
-
Method Details
-
asSet
-
asSet
-
asSet
-
first
-
last
-
join
-
first
-
firstValue
-
firstKey
-