| Package | Description |
|---|---|
| in.ashwanthkumar.utils.collections | |
| in.ashwanthkumar.utils.func | |
| in.ashwanthkumar.utils.parser |
| Modifier and Type | Method and Description |
|---|---|
static <T,Z> Z |
Lists.foldL(Iterable<T> collection,
Z initialValue,
Function<Tuple2<Z,T>,Z> foldFunction) |
static <T> void |
Iterables.foreach(Iterable<T> input,
Function<T,Void> condition) |
static <T,U> List<U> |
Lists.map(Iterable<T> collection,
Function<T,U> transformation) |
static <T,U> List<U> |
Lists.map(T[] array,
Function<T,U> transformation) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Predicate<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> Function<T,T> |
Functions.identity() |
static <T> Function<T,Void> |
Functions.STDERR() |
static <T> Function<T,Void> |
Functions.STDOUT() |
| Modifier and Type | Method and Description |
|---|---|
<U> ParserResult<U> |
Success.map(Function<T,U> transform) |
abstract <U> ParserResult<U> |
ParserResult.map(Function<T,U> transform) |
<U> Parser<U> |
Parser.map(Function<T,U> transform)
this.map(transform) succeeds if this succeeds and transform is used to convert the result of this |
<U> ParserResult<U> |
Failure.map(Function<T,U> transform) |
Copyright © 2016. All rights reserved.