Class VersionedInterpretation<T>
java.lang.Object
tools.refinery.store.model.internal.VersionedInterpretation<T>
- All Implemented Interfaces:
AnyInterpretation,Interpretation<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVersionedInterpretation(ModelImpl model, Symbol<T> symbol, VersionedMap<Tuple, T> map) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(InterpretationListener<T> listener, boolean alsoWhenRestoring) getAll()getDiffCursor(Version to) getModel()longgetSize()voidvoidremoveListener(InterpretationListener<T> listener) voidprotected booleanprotected voidvalueChanged(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, waitMethods inherited from interface tools.refinery.store.model.AnyInterpretation
getAdjacentSizeMethods inherited from interface tools.refinery.store.model.Interpretation
getAdjacent
-
Constructor Details
-
VersionedInterpretation
-
-
Method Details
-
getModel
- Specified by:
getModelin interfaceAnyInterpretation
-
getSymbol
- Specified by:
getSymbolin interfaceAnyInterpretation- Specified by:
getSymbolin interfaceInterpretation<T>
-
getSize
public long getSize()- Specified by:
getSizein interfaceAnyInterpretation
-
get
- Specified by:
getin interfaceInterpretation<T>
-
getAll
- Specified by:
getAllin interfaceInterpretation<T>
-
valueChanged
-
put
- Specified by:
putin interfaceInterpretation<T>
-
putAll
- Specified by:
putAllin interfaceInterpretation<T>
-
getDiffCursor
- Specified by:
getDiffCursorin interfaceInterpretation<T>
-
shouldNotifyRestoreListeners
protected boolean shouldNotifyRestoreListeners() -
restore
-
addListener
- Specified by:
addListenerin interfaceInterpretation<T>
-
removeListener
- Specified by:
removeListenerin interfaceInterpretation<T>
-