JanosVM v0.6.0 Java API Documentation: Class JSIPair
|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.utah.janosvm.kit.comm.jsi.JSIPair
A simple class used to couple an identifier string and a byte array value (Usually a string).
| Constructor Summary | |
JSIPair(java.lang.String tag,
byte[] value)
Construct an identifier/value pair with the given values. |
|
JSIPair(java.lang.String tag,
char value)
Construct an identifier/value pair with the given values. |
|
JSIPair(java.lang.String tag,
float value)
Construct an identifier/value pair with the given values. |
|
JSIPair(java.lang.String tag,
JSIPropertyInfo pi)
Construct an identifier/value pair with the given values. |
|
JSIPair(java.lang.String tag,
long value)
Construct an identifier/value pair with the given values. |
|
JSIPair(java.lang.String tag,
java.lang.String value)
Construct an identifier/value pair with the given values. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
byte[] |
getByteArrayFromHexValue()
|
char |
getCharValue()
|
float |
getFloatValue()
|
long |
getIntValue()
|
JSIPropertyInfo |
getPropertyInfoValue()
|
java.lang.String |
getStringValue()
|
java.lang.String |
getTag()
|
byte[] |
getValue()
|
int |
hashCode()
|
void |
setTag(java.lang.String tag)
|
void |
setValue(byte[] value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public JSIPair(java.lang.String tag,
byte[] value)
tag - The identifervalue - The byte array value.
public JSIPair(java.lang.String tag,
java.lang.String value)
tag - The identifervalue - The string value.
public JSIPair(java.lang.String tag,
char value)
tag - The identifervalue - The character value that is downcasted to a single byte.
public JSIPair(java.lang.String tag,
long value)
tag - The identifervalue - The long value that is stored as a decimal string.
public JSIPair(java.lang.String tag,
float value)
tag - The identifervalue - The float value that is stored as a decimal string.
public JSIPair(java.lang.String tag,
JSIPropertyInfo pi)
tag - The identifervalue - The property info value to be stored in its own customvalue - format.| Method Detail |
public void setTag(java.lang.String tag)
tag - The identifierpublic java.lang.String getTag()
public void setValue(byte[] value)
value - The valuepublic byte[] getValue()
value - The valuepublic char getCharValue()
public long getIntValue()
throws java.lang.NumberFormatException
public float getFloatValue()
throws java.lang.NumberFormatException
public java.lang.String getStringValue()
public byte[] getByteArrayFromHexValue()
throws java.lang.NumberFormatException
public JSIPropertyInfo getPropertyInfoValue()
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
JanosVM v0.6.0 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||