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:
- Serializable
public final class ArrayModifiedEvent
- extends Event
A notification that indicates an array was modified.
- Author:
- Jason T. Greene
- See Also:
- Serialized Form
Method Summary |
int |
getIndex()
Gets the index of the change. |
Object |
getValue()
Gets the new value for this change. |
ArrayModifiedEvent
public ArrayModifiedEvent(NotificationContext context,
Object source,
int index,
Object value,
boolean local)
getIndex
public int getIndex()
- Gets the index of the change.
- Returns:
- the index of this change
getValue
public Object getValue()
- Gets the new value for this change.
- Returns:
- the new value.
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.