|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cornell.cs.sam.core.Memory.Data
public static class Memory.Data
Represents memory data
Constructor Summary | |
---|---|
Memory.Data(int value,
Memory.Type type)
Create a new memory data object |
Method Summary | |
---|---|
Memory.Type |
getType()
Returns the type of this data object |
int |
getValue()
Returns the value of this data object as stored in memory |
java.lang.String |
toString()
Returns a descriptive string of this data object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Memory.Data(int value, Memory.Type type)
value
- The valuetype
- The typeMethod Detail |
---|
public int getValue()
public Memory.Type getType()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |