|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ref.Reference
java.lang.ref.WeakReference
edu.umd.cs.piccolox.event.PNotificationCenter.NotificationTarget
protected static class PNotificationCenter.NotificationTarget
A NotificationTarget is a method on a particular object that can be invoked.
Field Summary | |
---|---|
protected int |
hashCode
Cached hashcode value computed at construction time. |
protected Method |
method
Method to be invoked on the object. |
Constructor Summary | |
---|---|
PNotificationCenter.NotificationTarget(Object object,
Method method)
Creates a notification target representing the method on the particular object provided. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Returns true if this object is logically equivalent to the one passed in. |
Method |
getMethod()
Returns the method that will be invoked on the listener object. |
int |
hashCode()
Returns hash code for this notification target. |
String |
toString()
Returns a string representation of this NotificationTarget for debugging purposes. |
Methods inherited from class java.lang.ref.Reference |
---|
clear, enqueue, get, isEnqueued |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int hashCode
protected Method method
Constructor Detail |
---|
public PNotificationCenter.NotificationTarget(Object object, Method method)
object
- object on which method can be invokedmethod
- method to be invokedMethod Detail |
---|
public Method getMethod()
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
object
- object being tested for logical equivalency to this one
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |