I - Input typeO - Output type@FunctionalInterface public interface Transformer<I,O> extends Function<I,O>
| Modifier and Type | Field and Description |
|---|---|
static Function<Enum<?>,String> |
ENUM_NAME_EXTRACTOR
|
static Function<Object,String> |
TOSTRING
Invokes
Objects.toString(Object, String) on the argument
with null as the value to return if argument is null |
| Modifier and Type | Method and Description |
|---|---|
default O |
apply(I input) |
static <U extends V,V> |
identity() |
O |
transform(I input) |
static final Function<Object,String> TOSTRING
Objects.toString(Object, String) on the argument
with null as the value to return if argument is nullCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.