public static final class Functionals.ConstantFunction<I,O>
extends java.lang.Object
implements com.google.common.base.Function<I,O>
| Constructor and Description |
|---|
ConstantFunction(O constant) |
ConstantFunction(O constant,
java.lang.Object toStringDescription) |
| Modifier and Type | Method and Description |
|---|---|
O |
apply(I input) |
java.lang.String |
toString() |