-
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 >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.
-
constraint
Predicate<E> constraint
All elements in the list must fulfill this predicate, if null, all elements are allowed
-
insertTrigger
Trigger<E> insertTrigger
-
deleteTrigger
Trigger<E> deleteTrigger
-
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.