| Modifier and Type | Method and Description |
|---|---|
static <L,R> Pair<List<L>,List<R>> |
Pair.of(List<Either<L,R>> collection)
Given a list of Either[L,R] that can be a mixed collection of Left and Right, groups left side values into one list and
right side values into another list and return both lists together as a Pair (makes a union of the values contained within a
collection of disjoint unions)
|
| Modifier and Type | Method and Description |
|---|---|
static <K,U> Collector<Pair<K,U>,?,Map<K,U>> |
Pair.toMap()
|
Copyright © 2014–2016. All rights reserved.