Package com.google.common.base
Class Functions.SupplierFunction<F,T>
java.lang.Object
com.google.common.base.Functions.SupplierFunction<F,T>
- All Implemented Interfaces:
Function<F,,T> Serializable,Function<F,T>
- Enclosing class:
- Functions
private static class Functions.SupplierFunction<F,T>
extends Object
implements Function<F,T>, Serializable
-
Field Details
-
supplier
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SupplierFunction
-
-
Method Details
-
apply
-
equals
Description copied from interface:FunctionMay returntrueifobjectis aFunctionthat behaves identically to this function.Warning: do not depend on the behavior of this method.
Historically,
Functioninstances in this library have implemented this method to recognize certain cases where distinctFunctioninstances would in fact behave identically. However, as code migrates tojava.util.function, that behavior will disappear. It is best not to depend on it. -
hashCode
public int hashCode() -
toString
-