| Constructor and Description |
|---|
Progress(Cog state) |
Progress(java.lang.String name,
java.lang.String units,
int value,
int minimumValue,
int maximumValue) |
Progress(java.lang.String name,
java.lang.String units,
MathValueInInterval value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object notherObject) |
int |
getMaximumValue() |
int |
getMinimumValue() |
java.lang.String |
getName() |
java.lang.String |
getUnits() |
MathValueInInterval |
getValue() |
int |
hashCode() |
Progress |
incrementedBy(int amount) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
Progress |
withName(java.lang.String newName) |
public Progress(java.lang.String name,
java.lang.String units,
MathValueInInterval value)
public Progress(java.lang.String name,
java.lang.String units,
int value,
int minimumValue,
int maximumValue)
public Progress(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object notherObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String getUnits()
public MathValueInInterval getValue()
public int getMinimumValue()
public int getMaximumValue()
public Progress incrementedBy(int amount)
public Progress withName(java.lang.String newName)