private static class SharedVariableManager.PersistentRegistry
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected SharedVariableManager.SharedRegistry |
objects
Object pool which is context-local.
|
Constructor and Description |
---|
PersistentRegistry()
Default c'tor.
|
PersistentRegistry(boolean caseSensitive)
Initialize the dictionaries with the provided case-sensitivity.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(java.util.function.Consumer<SharedVariableManager.SharedRegistry> c)
Accept the specified consumer over all resource registries.
|
protected SharedVariableManager.PersistentRegistry |
clone()
Clone this instance.
|
void |
collectUndoables(java.util.IdentityHashMap<LazyUndoable,java.lang.Object> removed,
java.lang.Object o)
Collect the undoables for this resource in the specified map.
|
protected final SharedVariableManager.SharedRegistry objects
public PersistentRegistry()
public PersistentRegistry(boolean caseSensitive)
caseSensitive
- Flag indicating if the dictionary keys are case-sensitive or not.public void accept(java.util.function.Consumer<SharedVariableManager.SharedRegistry> c)
c
- The operation to perform.public void collectUndoables(java.util.IdentityHashMap<LazyUndoable,java.lang.Object> removed, java.lang.Object o)
removed
- The map where to add the undoables.o
- The original object.protected SharedVariableManager.PersistentRegistry clone()
clone
in class java.lang.Object