Package | Description |
---|---|
net.gdface.utils |
Modifier and Type | Method and Description |
---|---|
static <L,R> CollectionUtils.DualTransformer<L,R> |
CollectionUtils.asDualTransformer(CollectionUtils.Function<L,R> t1,
CollectionUtils.Function<R,L> t2) |
Modifier and Type | Method and Description |
---|---|
static <L,R> CollectionUtils.Function<R,L> |
CollectionUtils.asFromRightTransformer(CollectionUtils.DualTransformer<L,R> dual) |
static <L,R> CollectionUtils.Function<L,R> |
CollectionUtils.asToRightTransformer(CollectionUtils.DualTransformer<L,R> dual) |
static <K1,K2,V> java.util.Map<K2,V> |
CollectionUtils.tranformKeys(java.util.Map<K1,V> fromMap,
CollectionUtils.DualTransformer<K1,K2> transformer)
Returns a view of a map where each value is transformed by a function.
|
static <E1,E2> java.util.Set<E2> |
CollectionUtils.transform(java.util.Set<E1> fromSet,
CollectionUtils.DualTransformer<E1,E2> transformer)
Returns a view of a set where each key is transformed by a function.
|
Copyright © 2019. All rights reserved.