-
size
int size
Size of collection.
The size is cached, as the key maps do not know the size if duplicates are allowed.
-
maxSize
int maxSize
Maximum absolute or windows size, 0 if this list has no size restriction
-
movingWindow
boolean movingWindow
If maxSize is greater than 0, this boolean indicates whether the size is for window (true) or absolute (false)
-
keyMaps
org.magicwerk.brownies.collections.KeyCollectionImpl.KeyMap<E,K>[] keyMaps
Maps for element and all defined keys.
keyMaps may be null for a KeyListImpl without keys.
Index 0 is reserved for the elem key using an IdentMapper.
If there is no elem key, keyMaps[0] contains null.
-
orderByKey
int orderByKey
Index of key map which defines order
(-1 for no order, only possible for KeyList).
If an order key is defined for a KeyList, it must be implemented as KeyMap.keysList.
-
allowNullElem
boolean allowNullElem
True to allow null elements, false to reject them.
-
setBehavior
boolean setBehavior
-
constraint
java.util.function.Predicate<T> constraint
All elements in the list must fulfill this predicate, if null, all elements are allowed
-
beforeInsertTrigger
java.util.function.Consumer<T> beforeInsertTrigger
-
afterInsertTrigger
java.util.function.Consumer<T> afterInsertTrigger
-
beforeDeleteTrigger
java.util.function.Consumer<T> beforeDeleteTrigger
-
afterDeleteTrigger
java.util.function.Consumer<T> afterDeleteTrigger
-
keyList
KeyListImpl<E> keyList
Back pointer to KeyListImpl if this object is used to implement a KeyList, Key1List, Key2List.
Otherwise null if it is part of a KeyCollection, Key1Collection, Key2Collection.