Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.Quad
Class Operand.BasicBlockTableOperand  view Operand.BasicBlockTableOperand download Operand.BasicBlockTableOperand.java

java.lang.Object
  extended byCompil3r.Quad.Operand.BasicBlockTableOperand
All Implemented Interfaces:
Operand
Enclosing class:
Operand

public static class Operand.BasicBlockTableOperand
extends java.lang.Object
implements Operand


Nested Class Summary
 
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
 
Field Summary
private  Quad instruction
           
(package private)  BasicBlock[] table
           
 
Constructor Summary
Operand.BasicBlockTableOperand(BasicBlock[] t)
           
 
Method Summary
 void attachToQuad(Quad q)
           
 Operand copy()
           
 BasicBlock get(int i)
           
 Quad getQuad()
           
 boolean isSimilar(Operand that)
           
 void set(int i, BasicBlock b)
           
 int size()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instruction

private Quad instruction

table

BasicBlock[] table
Constructor Detail

Operand.BasicBlockTableOperand

public Operand.BasicBlockTableOperand(BasicBlock[] t)
Method Detail

set

public void set(int i,
                BasicBlock b)

get

public BasicBlock 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