Package com.simsilica.lemur
Class SequenceModels.RangedSequence
java.lang.Object
com.simsilica.lemur.SequenceModels.AbstractSequence<Double>
com.simsilica.lemur.SequenceModels.RangedSequence
- All Implemented Interfaces:
VersionedObject<Double>
,SequenceModel<Double>
- Enclosing class:
SequenceModels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object that is being versioned.long
Returns the current version of the versioned object.protected double
normalize
(double value) Clamps the prevision of the specified value.void
Methods inherited from class com.simsilica.lemur.SequenceModels.AbstractSequence
createReference, incrementVersion, toString
-
Constructor Details
-
RangedSequence
-
-
Method Details
-
normalize
protected double normalize(double value) Clamps the prevision of the specified value. -
getObject
Description copied from interface:VersionedObject
Returns the object that is being versioned. -
setObject
-
getNextObject
-
getPreviousObject
-
getVersion
public long getVersion()Description copied from interface:VersionedObject
Returns the current version of the versioned object.- Specified by:
getVersion
in interfaceVersionedObject<Double>
- Overrides:
getVersion
in classSequenceModels.AbstractSequence<Double>
-