Class RecordingNavigableSet<E>
java.lang.Object
com.blazebit.persistence.view.impl.collection.RecordingCollection<C,E>
com.blazebit.persistence.view.impl.collection.RecordingSet<C,E>
com.blazebit.persistence.view.impl.collection.RecordingSortedSet<NavigableSet<E>,E>
com.blazebit.persistence.view.impl.collection.RecordingNavigableSet<E>
- All Implemented Interfaces:
RecordingContainer<NavigableSet<E>>
,BasicDirtyTracker
,DirtyTracker
,Serializable
,Iterable<E>
,Collection<E>
,NavigableSet<E>
,Set<E>
,SortedSet<E>
public class RecordingNavigableSet<E> extends RecordingSortedSet<NavigableSet<E>,E> implements NavigableSet<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 Constructor Description RecordingNavigableSet(NavigableSet<E> delegate, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean strictCascadingCheck)
-
Method Summary
Modifier and Type Method Description E
ceiling(E e)
Iterator<E>
descendingIterator()
NavigableSet<E>
descendingSet()
E
floor(E e)
NavigableSet<E>
headSet(E toElement, boolean inclusive)
E
higher(E e)
E
lower(E e)
Read-onlyE
pollFirst()
E
pollLast()
NavigableSet<E>
subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
NavigableSet<E>
tailSet(E fromElement, boolean inclusive)
Methods inherited from class com.blazebit.persistence.view.impl.collection.RecordingSortedSet
comparator, first, headSet, last, subSet, tailSet
Methods inherited from class com.blazebit.persistence.view.impl.collection.RecordingSet
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Method Details
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<E>
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)- Specified by:
subSet
in interfaceNavigableSet<E>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<E>
-
lower
Read-only- Specified by:
lower
in interfaceNavigableSet<E>
-
floor
- Specified by:
floor
in interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<E>
-
higher
- Specified by:
higher
in interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<E>
-