edu.cmu.emulator.assembler
Class ByteValue

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

public class ByteValue
extends Object
implements Value


Field Summary
protected  byte v
           
 
Constructor Summary
ByteValue(Integer i)
           
ByteValue(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 byte v
Constructor Detail

ByteValue

public ByteValue(Integer i)

ByteValue

public ByteValue(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.