org.apache.openjpa.event
Class LifecycleEventManager.ListenerList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.apache.openjpa.event.LifecycleEventManager.ListenerList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- Enclosing class:
- LifecycleEventManager
public static class LifecycleEventManager.ListenerList
- extends ArrayList
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
- Specified by:
add
in interface List
- Overrides:
add
in class ArrayList
remove
public boolean remove(Object listener)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface List
- Overrides:
remove
in class ArrayList
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.