public static class SequenceModels.RangedSequence extends SequenceModels.AbstractSequence<java.lang.Double>
Constructor and Description |
---|
RangedSequence(com.simsilica.lemur.RangedValueModel model,
double step,
double resolution) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getNextObject() |
java.lang.Double |
getObject() |
java.lang.Double |
getPreviousObject() |
long |
getVersion() |
protected double |
normalize(double value)
Clamps the prevision of the specified value.
|
void |
setObject(java.lang.Double object) |
createReference, incrementVersion, toString
public RangedSequence(com.simsilica.lemur.RangedValueModel model, double step, double resolution)
protected double normalize(double value)
public java.lang.Double getObject()
public void setObject(java.lang.Double object)
public java.lang.Double getNextObject()
public java.lang.Double getPreviousObject()
public long getVersion()
getVersion
in interface com.simsilica.lemur.core.VersionedObject<java.lang.Double>
getVersion
in class SequenceModels.AbstractSequence<java.lang.Double>