A lazy loaded collection.
Type | Name and description |
---|---|
void |
initialize() Initializes the collection if it hasn't already been initialized. |
boolean |
isDirty() Check whether the collection has been modified. |
boolean |
isInitialized() Check whether the collection has been loaded. |
void |
resetDirty() Mark the collection as no longer dirty. |
Methods inherited from class | Name |
---|---|
interface java.util.Collection |
java.util.Collection#add(java.lang.Object), java.util.Collection#remove(java.lang.Object), java.util.Collection#equals(java.lang.Object), java.util.Collection#hashCode(), java.util.Collection#clear(), java.util.Collection#isEmpty(), java.util.Collection#contains(java.lang.Object), java.util.Collection#size(), java.util.Collection#toArray([Ljava.lang.Object;), java.util.Collection#toArray(), java.util.Collection#iterator(), java.util.Collection#spliterator(), java.util.Collection#addAll(java.util.Collection), java.util.Collection#stream(), java.util.Collection#containsAll(java.util.Collection), java.util.Collection#removeAll(java.util.Collection), java.util.Collection#retainAll(java.util.Collection), java.util.Collection#removeIf(java.util.function.Predicate), java.util.Collection#parallelStream(), java.util.Collection#forEach(java.util.function.Consumer) |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Initializes the collection if it hasn't already been initialized.
Check whether the collection has been modified.
true
if the collection is initialized and has been changed since initializationCheck whether the collection has been loaded.
true
if the collection has been initializedMark the collection as no longer dirty.