|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.opt.applet.ID
public class ID
ID - A wrapper class for unsigned byte arrays.
HexString
Constructor Summary | |
---|---|
ID(byte[] array)
Constructs the AppletID from a byte array. |
|
ID(java.lang.String hexString)
Construct the ID from a hexadecimal string. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Checks whether this ID equals another object. |
byte[] |
getBytes()
Returns the ID as a byte array. |
int |
hashCode()
Returns a hash code for the ID. |
java.lang.String |
toString()
Returns the ID as a string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ID(byte[] array)
array
- Byte array for initialization of the ID.public ID(java.lang.String hexString)
hexString
- Hexadecimal string for initialization of the ID.Method Detail |
---|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The object to be compared with this ID.public byte[] getBytes()
public int hashCode()
hashCode
in class java.lang.Object
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 |