Package org.core.utils.entry
Class AbstractSnapshotValue<O,V>
java.lang.Object
org.core.utils.entry.AbstractSnapshotValue<O,V>
- All Implemented Interfaces:
SnapshotValue<O,V>
- Direct Known Subclasses:
AbstractSnapshotValue.AbstractIdentitySnapshotValue
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.core.utils.entry.SnapshotValue
SnapshotValue.IdentifySnapshotValue<O,V> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractSnapshotValue(V value, Function<O,V> getter, BiConsumer<O,V> setter) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValue(O obj)clone()getValue()SnapshotValue<O,V>storeValue(O obj)Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.core.utils.entry.SnapshotValue
canApplyTo
-
Field Details
-
getter
-
setter
-
value
-
-
Constructor Details
-
AbstractSnapshotValue
-
-
Method Details
-
setValue
- Specified by:
setValuein interfaceSnapshotValue<O,V>
-
getValue
- Specified by:
getValuein interfaceSnapshotValue<O,V>
-
storeValue
- Specified by:
storeValuein interfaceSnapshotValue<O,V>
-
applyValue
- Specified by:
applyValuein interfaceSnapshotValue<O,V>
-
clone
-