|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.values.IntegerValue
public class IntegerValue
Representa los valores enteros del motor.
Field Summary | |
---|---|
protected int |
value
|
static IntegerValue |
Zero
|
Constructor Summary | |
---|---|
IntegerValue()
construye un valor entero nulo. |
|
IntegerValue(int value)
construye un valor entero a partir de value. |
Method Summary | |
---|---|
int |
asInt()
devuelve la representacion del valor entero como un int. |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(Value v)
|
ValueClass |
getValueClass()
retorna la clase de valor a la que pertener el valor. |
boolean |
greaterThan(Value v)
|
boolean |
greaterThanOrEqual(Value v)
|
int |
hashCode()
|
boolean |
isNull()
|
boolean |
lowerThan(Value v)
|
boolean |
lowerThanOrEqual(Value v)
|
java.lang.String |
toString()
|
java.lang.Object |
value()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IntegerValue Zero
protected int value
Constructor Detail |
---|
public IntegerValue(int value)
public IntegerValue()
Method Detail |
---|
public int asInt()
public boolean equals(Value v)
equals
in interface Value
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ValueClass getValueClass()
Value
getValueClass
in interface Value
public java.lang.String toString()
toString
in interface Value
toString
in class java.lang.Object
public boolean greaterThan(Value v)
greaterThan
in interface Value
public boolean greaterThanOrEqual(Value v)
greaterThanOrEqual
in interface Value
public boolean lowerThan(Value v)
lowerThan
in interface Value
public boolean lowerThanOrEqual(Value v)
lowerThanOrEqual
in interface Value
public boolean isNull()
isNull
in interface Value
public java.lang.Object value()
value
in interface Value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |