Class RecordingSet<C extends Set<E>,E>
java.lang.Object
com.blazebit.persistence.view.impl.collection.RecordingCollection<C,E>
com.blazebit.persistence.view.impl.collection.RecordingSet<C,E>
- All Implemented Interfaces:
RecordingContainer<C>
,BasicDirtyTracker
,DirtyTracker
,Serializable
,Iterable<E>
,Collection<E>
,Set<E>
- Direct Known Subclasses:
RecordingSortedSet
public class RecordingSet<C extends Set<E>,E> extends RecordingCollection<C,E> implements Set<E>
- Since:
- 1.2.0
- Author:
- Christian Beikov
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.blazebit.persistence.view.impl.collection.RecordingCollection
allowedSubtypes, delegate, indexed, parentRequiringCreateSubtypes, parentRequiringUpdateSubtypes, updatable
-
Constructor Summary
Constructors Modifier Constructor Description RecordingSet(C delegate, boolean ordered, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean strictCascadingCheck)
protected
RecordingSet(C delegate, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean hashBased, boolean ordered, boolean strictCascadingCheck)
-
Method Summary
Modifier and Type Method Description protected boolean
allowDuplicates()
Methods inherited from class com.blazebit.persistence.view.impl.collection.RecordingCollection
$$_copyDirty, $$_getDirty, $$_getSimpleDirty, $$_hasParent, $$_isDirty, $$_isDirty, $$_markDirty, $$_replaceAttribute, $$_resetDirty, $$_setDirty, $$_setParent, $$_unmarkDirty, $$_unsetParent, add, addAction, addAll, checkType, checkType, clear, contains, containsAll, copyDelegate, equals, getActions, getAddedElements, getCurrentIterator, getDelegate, getInitialVersion, getRemovedElements, hasActions, hashCode, initiateActionsAgainstState, isEmpty, isHashBased, iterator, recordingIterator, remove, removeAll, replaceActionElement, replay, resetActions, resetRecordingIterator, retainAll, setActions, setActions, size, toArray, toArray, toString
-
Constructor Details
-
Method Details
-
allowDuplicates
protected boolean allowDuplicates()- Overrides:
allowDuplicates
in classRecordingCollection<C extends Set<E>,E>
-