Java com.google.common.base Functions fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.base Functions fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.base Functions.

The text is from its open source code.

Method

Functioncompose(Function g, Function f)
Returns the composition of two functions.
Functionconstant(@Nullable E value)
Creates a function that returns value for any input.
FunctionforMap(Map map)
Returns a function which performs a map lookup.
FunctionforMap(Map map, @Nullable V defaultValue)
Returns a function which performs a map lookup with a default value.
FunctionforPredicate(Predicate predicate)
Creates a function that returns the same boolean output as the given predicate for all inputs.
FunctionforSupplier(Supplier supplier)
Returns a function that always returns the result of invoking Supplier#get on supplier , regardless of its input.
Functionidentity()
Returns the identity function.
FunctiontoStringFunction()
Returns a function that calls toString() on its argument.