| Constructor and Description |
|---|
MathValueInInterval(Cog state) |
MathValueInInterval(int value,
int minimumValue,
int maximumValue) |
MathValueInInterval(int value,
MathInterval interval) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object nother) |
MathInterval |
getInterval() |
int |
getValue() |
int |
hashCode() |
MathValueInInterval |
incrementedBy(int amount) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
public MathValueInInterval(int value,
MathInterval interval)
public MathValueInInterval(int value,
int minimumValue,
int maximumValue)
public MathValueInInterval(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int getValue()
public MathInterval getInterval()
public MathValueInInterval incrementedBy(int amount)