Compil3r.Quad
Class Operand.IntValueTableOperand

java.lang.Object
Compil3r.Quad.Operand.IntValueTableOperand
- All Implemented Interfaces:
- Operand
- Enclosing class:
- Operand
- public static class Operand.IntValueTableOperand
- extends java.lang.Object
- implements Operand
| Nested classes inherited from class Compil3r.Quad.Operand |
Operand.AConstOperand, Operand.BasicBlockTableOperand, Operand.ConditionOperand, Operand.Const4Operand, Operand.Const8Operand, Operand.DConstOperand, Operand.FConstOperand, Operand.FieldOperand, Operand.IConstOperand, Operand.IntValueTableOperand, Operand.LConstOperand, Operand.MethodOperand, Operand.ParamListOperand, Operand.PConstOperand, Operand.RegisterOperand, Operand.TargetOperand, Operand.TypeOperand, Operand.UnnecessaryGuardOperand, Operand.Util |
instruction
private Quad instruction
table
int[] table
Operand.IntValueTableOperand
public Operand.IntValueTableOperand(int[] t)
set
public void set(int i,
int b)
get
public int get(int i)
size
public int size()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
copy
public Operand copy()
- Specified by:
copy in interface Operand
attachToQuad
public void attachToQuad(Quad q)
- Specified by:
attachToQuad in interface Operand
getQuad
public Quad getQuad()
- Specified by:
getQuad in interface Operand
isSimilar
public boolean isSimilar(Operand that)
- Specified by:
isSimilar in interface Operand