E - type of contained elementspublic interface ExtendedCollection<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>> |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasVolatileElements()
Tells if this collection contains volatile elements.
An element is volatile, if it can become no longer reachable by the collection without being removed from the collection. |
boolean |
nullAllowed()
Defines if null-elements are allowed inside the collection or not.
|
boolean nullAllowed()
true if null is allowed inside the collection; false if notboolean hasVolatileElements()
WeakReference of SoftReference or implementations of collection entries
that remove the element contained in an entry by some means outside the collection.WeakReference instances that are added to a a simple (non-volatile) implementation of a
collection do not make the collection volatile, as the elements themselves (the reference instances) are still
strongly referenced.true if the collection contains volatile elements.Copyright © 2022 MicroStream Software. All rights reserved.