- java.lang.Object
-
- xyz.cofe.collection.BasicEventList<E>
-
- xyz.cofe.collection.StdEventList<E>
-
- Type Parameters:
E- Тип элемента
- All Implemented Interfaces:
Iterable<E>,Collection<E>,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>,Long,CollectionEvent<EventList<E>,E>>
public class StdEventList<E> extends BasicEventList<E> implements PreEventList<E>
Список с поддержкой событийInsertingEvent,UpdatingEvent,DeletingEventInsertedEvent,UpdatingEvent,DeletedEvent
-
-
Field Summary
-
Fields inherited from class xyz.cofe.collection.BasicEventList
readWriteLock, target
-
-
Constructor Summary
Constructors Constructor Description StdEventList()Конструктор по умолчаниюStdEventList(List<E> target)КонструкторStdEventList(List<E> target, ReadWriteLock rwLock)Конструктор
-
Method Summary
-
Methods inherited from class xyz.cofe.collection.BasicEventList
getReadLock, getWriteLock, listenerHelper, scnListenerHelper, target
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface xyz.cofe.collection.CollectionEventPublisher
addCollectionEvent, addCollectionListener, addCollectionListener, getCollectionEventQueue, getCollectionListeners, hasCollectionListener, listenerHelper, removeCollectionListener, withCollectionEventQueue, withCollectionEventQueue
-
Methods inherited from interface xyz.cofe.iter.Eterable
count, filter, first, limit, map, notNull, product, product, product, product, product, reduce, toList, union, union
-
Methods 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, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, spliterator
-
Methods 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, set
-
Methods inherited from interface xyz.cofe.ecolls.ReadWriteLockSupport
getReadLock, getWriteLock, readLock, readLock, writeLock, writeLock
-
Methods inherited from interface xyz.cofe.scn.Scn
addScnChangedListener, addScnChangedListener, fireScnChanged, fireScnChanged, getScnChangedListeners, hasScnChangedListener, onScn, removeAllScnChangedListeners, removeScnChangedListener, scn, scn, scnListenerHelper
-
-
-
-
Constructor Detail
-
StdEventList
public StdEventList()
Конструктор по умолчанию
-
StdEventList
public StdEventList(List<E> target, ReadWriteLock rwLock)
Конструктор- Parameters:
target- целевой списокrwLock- блокировки чтения / записи
-
-