|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jcreme.caches.CacheEvent
Instances of this class report modifications in the contents of a cache. Namely elements added and removed from the cache.
Field Summary | |
(package private) static long |
serialVersionUID
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
CacheEvent(java.lang.Object source,
java.lang.Object element)
Creates new CacheEvent |
Method Summary | |
java.lang.Object |
getElement()
Enables access to the element that provoked the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
Constructor Detail |
public CacheEvent(java.lang.Object source, java.lang.Object element)
source
- the cache that sent the event.element
- the object that provoked the event.Method Detail |
public java.lang.Object getElement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |