org.apache.openjpa.event
Class LifecycleEventManager.ListenerList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Object>
org.apache.openjpa.event.LifecycleEventManager.ListenerList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
- Enclosing class:
- LifecycleEventManager
public static class LifecycleEventManager.ListenerList
- extends ArrayList<Object>
Extended list that tracks what event types its elements care about.
Maintains set semantics as well.
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
LifecycleEventManager.ListenerList
public LifecycleEventManager.ListenerList(int size)
LifecycleEventManager.ListenerList
public LifecycleEventManager.ListenerList(LifecycleEventManager.ListenerList copy)
hasListeners
public boolean hasListeners(int type)
add
public boolean add(Object listener)
- Specified by:
add in interface Collection<Object>- Specified by:
add in interface List<Object>- Overrides:
add in class ArrayList<Object>
remove
public boolean remove(Object listener)
- Specified by:
remove in interface Collection<Object>- Specified by:
remove in interface List<Object>- Overrides:
remove in class ArrayList<Object>
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.