Class VersionedInterpretation<T>
java.lang.Object
tools.refinery.store.model.internal.VersionedInterpretation<T>
- All Implemented Interfaces:
AnyInterpretation
,Interpretation<T>
-
Constructor Summary
ModifierConstructorDescriptionprotected
VersionedInterpretation
(ModelImpl model, Symbol<T> symbol, VersionedMap<Tuple, T> map) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(InterpretationListener<T> listener, boolean alsoWhenRestoring) getAll()
getDiffCursor
(Version to) getModel()
long
getSize()
void
void
removeListener
(InterpretationListener<T> listener) void
protected boolean
protected void
valueChanged
(Tuple key, T fromValue, T toValue, boolean restoring) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.refinery.store.model.AnyInterpretation
getAdjacentSize
Methods inherited from interface tools.refinery.store.model.Interpretation
getAdjacent
-
Constructor Details
-
VersionedInterpretation
-
-
Method Details
-
getModel
- Specified by:
getModel
in interfaceAnyInterpretation
-
getSymbol
- Specified by:
getSymbol
in interfaceAnyInterpretation
- Specified by:
getSymbol
in interfaceInterpretation<T>
-
getSize
public long getSize()- Specified by:
getSize
in interfaceAnyInterpretation
-
get
- Specified by:
get
in interfaceInterpretation<T>
-
getAll
- Specified by:
getAll
in interfaceInterpretation<T>
-
valueChanged
-
put
- Specified by:
put
in interfaceInterpretation<T>
-
putAll
- Specified by:
putAll
in interfaceInterpretation<T>
-
getDiffCursor
- Specified by:
getDiffCursor
in interfaceInterpretation<T>
-
shouldNotifyRestoreListeners
protected boolean shouldNotifyRestoreListeners() -
restore
-
addListener
- Specified by:
addListener
in interfaceInterpretation<T>
-
removeListener
- Specified by:
removeListener
in interfaceInterpretation<T>
-