| Constructor and Description |
|---|
Eithers() |
| Modifier and Type | Method and Description |
|---|---|
static <L,R> de.scravy.pair.Pair<List<L>,List<R>> |
parition(Collection<Either<L,R>> source) |
static <L,R> void |
partitionInto(Collection<Either<L,R>> source,
Collection<L> lefts,
Collection<R> rights) |
public static <L,R> void partitionInto(Collection<Either<L,R>> source, Collection<L> lefts, Collection<R> rights)
source - The source collection.lefts - The collection to copy lefts into.rights - The collection to copy rights into.public static <L,R> de.scravy.pair.Pair<List<L>,List<R>> parition(Collection<Either<L,R>> source)
source - The source collection.Copyright © 2015. All rights reserved.