|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.basic.value.AbstractSimValueType jasi.sim.basic.value.AbstractComparableObject<TInteger> jasi.sim.user.value.TInteger
public class TInteger
Integer variable for condition tables.
Constructor Summary | |
---|---|
TInteger(int content)
Constructor. |
|
TInteger(java.lang.String content)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(TInteger o)
Compares the specified object with this assignable object for equality. |
boolean |
equals(java.lang.Object o)
Indicates, whether some other object is "equal to" this one. |
int |
hashCode()
Returns the hash code value for this assignable object. |
java.lang.String |
toString()
Returns a string representation of this object. |
int |
value()
Get this value's content. |
Methods inherited from class jasi.sim.basic.value.AbstractComparableObject |
---|
isEQ, isGE, isGT, isLE, isLT, isNE |
Methods inherited from class jasi.sim.basic.value.AbstractSimValueType |
---|
getContent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TInteger(java.lang.String content)
content
- The content.public TInteger(int content)
content
- The content.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public final int value()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- That object which is compared with this object.
public int compareTo(TInteger o)
compareTo
in interface java.lang.Comparable<TInteger>
compareTo
in class AbstractComparableObject<TInteger>
o
- The object to be compared for equality with this object.
Comparable.compareTo(Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |