| Package | Description |
|---|---|
| org.atlanmod.commons.function |
Provides functional interfaces that extend the Java functions.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,U,R> BiConverter<T,U,R> |
BiConverter.from(BiFunction<? super T,? super U,? extends R> convertFunc,
BiFunction<? super R,? super U,? extends T> revertFunc)
Creates a bi-converter based on separate forward and backward functions.
|
static <T,U> BiConverter<T,U,T> |
BiConverter.identity()
Creates a bi-converter that always converts or reverses an object to itself.
|
default BiConverter<R,U,T> |
BiConverter.reverse()
Returns the reversed converter of this converter.
|
Copyright © 2017–2019 Atlanmod. All rights reserved.