public abstract class BaseMethodHandleReference extends BaseReference implements MethodHandleReference
Reference.InvalidReferenceException| Constructor and Description |
|---|
BaseMethodHandleReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MethodHandleReference o)
Compare this MethodHandleReference to another MethodHandleReference.
|
boolean |
equals(java.lang.Object o)
Compares this MethodHandleReference to another MethodHandleReference for equality.
|
int |
hashCode()
Returns a hashcode for this MethodHandleReference.
|
validateReferenceclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMemberReference, getMethodHandleTypevalidateReferencepublic int hashCode()
MethodHandleReference
int hashCode = getMethodHandleType();
hashCode = hashCode*31 + getMemberReference().hashCode();
hashCode in interface MethodHandleReferencehashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
MethodHandleReferenceequals in interface MethodHandleReferenceequals in class java.lang.Objecto - The object to be compared for equality with this MethodHandleReferencepublic int compareTo(@Nonnull
MethodHandleReference o)
MethodHandleReferencecompareTo in interface java.lang.Comparable<MethodHandleReference>compareTo in interface MethodHandleReferenceo - The MethodHandleReference to compare with this MethodHandleReference