| Package | Description |
|---|---|
| com.abubusoft.kripton.common |
common classes package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Converter<A,B>
A function from
A to B with an associated reverse function from B
to A; used for converting back and forth between different representations of the same
information. |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Converter<A,B> |
Converter.from(Function<? super A,? extends B> forwardFunction,
Function<? super B,? extends A> backwardFunction)
Returns a converter based on existing forward and backward functions.
|
static <A,B> Converter<A,B> |
Converter.from(Function<? super A,? extends B> forwardFunction,
Function<? super B,? extends A> backwardFunction)
Returns a converter based on existing forward and backward functions.
|
Copyright © 2016. All rights reserved.