Class JsonTransaction.Overlay<T>
java.lang.Object
com.ultikits.ultitools.interfaces.impl.data.json.JsonTransaction.Overlay<T>
- Type Parameters:
T- the operator's entity type
- Enclosing class:
JsonTransaction
One operator's staged writes, keyed by the key the operator's committed entries use. A
null value marks a staged delete.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean(package private) void(package private) voidforEach(BiConsumer<Object, T> visitor) Visits every staged write in staging order; the value isnullfor a delete.(package private) JsonTransaction.Staged<T> The staged write forkey, ornullif nothing is staged for it.(package private) booleanisEmpty()(package private) void
-
Field Details
-
entries
-
-
Constructor Details
-
Overlay
Overlay()
-
-
Method Details
-
isEmpty
boolean isEmpty() -
contains
-
get
The staged write forkey, ornullif nothing is staged for it. -
put
-
delete
-
forEach
Visits every staged write in staging order; the value isnullfor a delete.
-