| Package | Description |
|---|---|
| com.abubusoft.kripton.common |
common classes package.
|
| Modifier and Type | Method and Description |
|---|---|
<C> Converter<A,C> |
Converter.andThen(Converter<B,C> secondConverter)
Returns a converter whose
convert method applies secondConverter to the result
of this converter. |
Converter<String,String> |
CaseFormat.converterTo(CaseFormat targetFormat)
Returns a
Converter that converts strings from this format to targetFormat. |
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 <T> Converter<T,T> |
Converter.identity()
Returns a serializable converter that always converts or reverses an object to itself.
|
Converter<B,A> |
Converter.reverse()
Returns the reversed view of this converter, which converts
this.convert(a) back to a
value roughly equivalent to a. |
| Modifier and Type | Method and Description |
|---|---|
<C> Converter<A,C> |
Converter.andThen(Converter<B,C> secondConverter)
Returns a converter whose
convert method applies secondConverter to the result
of this converter. |
Copyright © 2016. All rights reserved.