public class CDKey
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CDKey(java.util.BitSet bs) |
CDKey(java.lang.String cdKey)
Parses the given string into a CD-Key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCDKey()
Returns the key as a string without the dash in the middle
|
int |
hashCode() |
static CDKey |
newRandomCDKey() |
java.lang.String |
toString() |
public CDKey(java.lang.String cdKey)
public CDKey(java.util.BitSet bs)
public static CDKey newRandomCDKey()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getCDKey()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object