Package com.google.common.collect
Class Interners.InternerFunction<E>
java.lang.Object
com.google.common.collect.Interners.InternerFunction<E>
- Enclosing class:
- Interners
-
Field Details
-
interner
-
-
Constructor Details
-
InternerFunction
-
-
Method Details
-
apply
-
hashCode
public int hashCode() -
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.
-