adaptj.toolkits.analyses.metrics
Class InstructionSet

java.lang.Object
  |
  +--adaptj.toolkits.analyses.metrics.InstructionSet

public class InstructionSet
extends java.lang.Object


Constructor Summary
InstructionSet(java.lang.String name)
           
 
Method Summary
 boolean add(int instructionCode)
           
 boolean add(java.lang.String instructionName)
           
 boolean contains(int instructionCode)
           
 int[] getContents()
           
 long getCounter()
           
 java.lang.String getName()
           
 int getSize()
           
 int hashCode()
           
 boolean isEmpty()
           
 void remove(int instructionCode)
           
 void remove(java.lang.String instructionName)
           
 void resetCounter()
           
 void setUnion(InstructionSet set)
           
 void stepCounter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionSet

public InstructionSet(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

add

public boolean add(int instructionCode)

add

public boolean add(java.lang.String instructionName)

setUnion

public void setUnion(InstructionSet set)

remove

public void remove(int instructionCode)

remove

public void remove(java.lang.String instructionName)

contains

public boolean contains(int instructionCode)

getSize

public int getSize()

isEmpty

public boolean isEmpty()

getContents

public int[] getContents()

stepCounter

public void stepCounter()

getCounter

public long getCounter()

resetCounter

public void resetCounter()