edu.cmu.emulator.assembler
Class IntValue

java.lang.Object
  extended by edu.cmu.emulator.assembler.IntValue
All Implemented Interfaces:
Value

public class IntValue
extends Object
implements Value


Field Summary
protected  int v
           
 
Constructor Summary
IntValue(Integer i)
           
IntValue(String s)
           
 
Method Summary
 String getType()
           
 int toInt()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

v

protected int v
Constructor Detail

IntValue

public IntValue(Integer i)

IntValue

public IntValue(String s)
Method Detail

getType

public String getType()
Specified by:
getType in interface Value

toInt

public int toInt()
Specified by:
toInt in interface Value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.