Example usage for Java com.google.common.base Functions fields, constructors, methods, implement or subclass
The text is from its open source code.
Function | compose(Function g, Function f) Returns the composition of two functions. |
Function | constant(@Nullable E value) Creates a function that returns value for any input. |
Function | forMap(Map Returns a function which performs a map lookup. |
Function | forMap(Map Returns a function which performs a map lookup with a default value. |
Function | forPredicate(Predicate Creates a function that returns the same boolean output as the given predicate for all inputs. |
Function | forSupplier(Supplier Returns a function that always returns the result of invoking Supplier#get on supplier , regardless of its input. |
Function | identity() Returns the identity function. |
Function | toStringFunction() Returns a function that calls toString() on its argument. |