Class IterableUtil
java.lang.Object
org.palladiosimulator.indirections.util.IterableUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic final <A extends Iterable<?>>
AclaimAtLeastOne
(A iterable) static final <A extends Iterable<T>,
T>
TclaimEqual
(A iterable) static final <A extends Iterable<T>,
T, R>
RclaimEqualKey
(A iterable, Function<T, R> keyFunction) static final <A extends Iterable<T>,
T>
TclaimOne
(A iterable) static <U,
T extends U>
Collection<T>claimType
(Collection<U> collection, Class<? extends T> claimedElementType) static <T> Stream<T>
static <T> EList<T>
static <K,
V> Map<K, V>
-
Method Details
-
claimAtLeastOne
-
claimEqual
-
claimEqualKey
-
claimOne
-
claimType
public static <U,T extends U> Collection<T> claimType(Collection<U> collection, Class<? extends T> claimedElementType) -
stream
-
toEList
-
toMap
-