Constructor and Description |
---|
InternerFunction(Interner<E> interner) |
Modifier and Type | Method and Description |
---|---|
E |
apply(E input) |
boolean |
equals(java.lang.Object other)
May return
true if object is a Function that behaves identically
to this function. |
int |
hashCode() |
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
Function
true
if object
is a Function
that behaves identically
to this function.
Warning: do not depend on the behavior of this method.
Historically, Function
instances in this library have implemented this method to
recognize certain cases where distinct Function
instances would in fact behave
identically. However, as code migrates to java.util.function
, that behavior will
disappear. It is best not to depend on it.
equals
in class java.lang.Object