org.jboss.cache.pojo.notification.event
Class ArrayModifiedEvent
java.lang.Object
java.util.EventObject
org.jboss.cache.pojo.notification.event.Event
org.jboss.cache.pojo.notification.event.ArrayModifiedEvent
- All Implemented Interfaces:
- java.io.Serializable
public final class ArrayModifiedEvent
- extends Event
A notification that indicates an array was modified.
- Author:
- Jason T. Greene
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getIndex()
Gets the index of the change. |
java.lang.Object |
getValue()
Gets the new value for this change. |
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 |
ArrayModifiedEvent
public ArrayModifiedEvent(NotificationContext context,
java.lang.Object source,
int index,
java.lang.Object value,
boolean local)
getIndex
public int getIndex()
- Gets the index of the change.
- Returns:
- the index of this change
getValue
public java.lang.Object getValue()
- Gets the new value for this change.
- Returns:
- the new value.