java.lang.Object
xyz.cofe.collection.BasicEventList<E>
xyz.cofe.collection.StdEventList<E>
- Type Parameters:
E- Тип элемента
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.List<E>,CollectionEventPublisher<EventList<E>,E>,EventList<E>,PreEventList<E>,GetReadLock,GetWriteLock,ReadWriteLockSupport,Eterable<E>,LongScn<EventList<E>,CollectionEvent<EventList<E>,E>>,Scn<EventList<E>,java.lang.Long,CollectionEvent<EventList<E>,E>>
public class StdEventList<E> extends BasicEventList<E> implements PreEventList<E>
Список с поддержкой событий
InsertingEvent, UpdatingEvent, DeletingEvent
InsertedEvent, UpdatingEvent, DeletedEvent-
Field Summary
-
Constructor Summary
Constructors Constructor Description StdEventList()Конструктор по умолчаниюStdEventList(java.util.List<E> target)КонструкторStdEventList(java.util.List<E> target, java.util.concurrent.locks.ReadWriteLock rwLock)Конструктор -
Method Summary
Methods inherited from class xyz.cofe.collection.BasicEventList
getReadLock, getWriteLock, listenerHelper, scnListenerHelper, targetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xyz.cofe.collection.CollectionEventPublisher
addCollectionEvent, addCollectionListener, addCollectionListener, getCollectionEventQueue, getCollectionListeners, hasCollectionListener, listenerHelper, removeCollectionListener, withCollectionEventQueue, withCollectionEventQueueMethods inherited from interface xyz.cofe.iter.Eterable
count, filter, first, limit, map, notNull, product, product, product, product, product, reduce, toList, union, unionMethods inherited from interface xyz.cofe.collection.EventList
contains, containsAll, fireDeleted, fireInserted, fireUpdated, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, onChanged, onChanged, onDeleted, onDeleted, onInserted, onInserted, onUpdated, onUpdated, size, sort, subList, target, toArray, toArrayMethods inherited from interface xyz.cofe.collection.PreEventList
add, add, addAll, addAll, clear, fireCollectionEvent, fireDeleting, fireInserting, fireUpdating, onDeleting, onDeleting, onInserting, onInserting, onUpdating, onUpdating, remove, remove, removeAll, removeIf, replaceAll, retainAll, sameElements, setMethods inherited from interface xyz.cofe.ecolls.ReadWriteLockSupport
getReadLock, getWriteLock, readLock, readLock, writeLock, writeLockMethods inherited from interface xyz.cofe.scn.Scn
addScnChangedListener, addScnChangedListener, fireScnChanged, fireScnChanged, getScnChangedListeners, hasScnChangedListener, onScn, removeAllScnChangedListeners, removeScnChangedListener, scn, scn, scnListenerHelper
-
Constructor Details
-
StdEventList
public StdEventList()Конструктор по умолчанию -
StdEventList
Конструктор- Parameters:
target- целевой список
-
StdEventList
Конструктор- Parameters:
target- целевой списокrwLock- блокировки чтения / записи
-