|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompiler.intermediate.Value
public class Value
Clase que representa un valor constante en el código intermedio
Constructor Summary | |
---|---|
Value(int value)
Constructor for Value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Compares this object with another one. |
int |
getValue()
Returns the value. |
int |
hashCode()
Returns a hash code for the object. |
void |
setValue(int value)
Sets The value. |
java.lang.String |
toString()
Return a string representing the object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Value(int value)
value
- The value.Method Detail |
---|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other object.
public int getValue()
public int hashCode()
hashCode
in class java.lang.Object
public void setValue(int value)
value
- The value to set.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |