public static final class TicketKeyBag.KeyName
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
KeyName(byte[] name)
Creates a KeyName from the given name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Gets a clone of this Object.
|
boolean |
equals(java.lang.Object other)
Checks, if this KeyName is equal to the given object.
|
byte[] |
getName()
Gets the key name as byte array.
|
int |
hashCode()
Gets a hash code of this object.
|
java.lang.String |
toString()
Returns a String representation of the KeyName.
|
public KeyName(byte[] name)
name
- the key name as byte arraypublic byte[] getName()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other object to be compared with this KeyNamepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object