Package com.simsilica.lemur
Interface SequenceModel<T>
- All Superinterfaces:
VersionedObject<T>
- All Known Implementing Classes:
SequenceModels.AbstractSequence,SequenceModels.DoubleSequence,SequenceModels.ListSequence,SequenceModels.RangedSequence
Represents a model that provides a mutable current value as well
as next and previous values. This can be used to implement bounded
or unbounded lists of items/numbers that can be iterated forwards or backwards.
Useful for things like spin controls or knobs that can be spun indefinitely.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the object that is being versioned.voidMethods inherited from interface com.simsilica.lemur.core.VersionedObject
createReference, getVersion
-
Method Details
-
getObject
T getObject()Description copied from interface:VersionedObjectReturns the object that is being versioned.- Specified by:
getObjectin interfaceVersionedObject<T>
-
setObject
-
getNextObject
T getNextObject() -
getPreviousObject
T getPreviousObject()
-