public class UUIDKey extends AbstractKey
Constructor and Description |
---|
UUIDKey(long leastSignificant,
long mostSignificant) |
UUIDKey(String id) |
UUIDKey(UUID uuid) |
Modifier and Type | Method and Description |
---|---|
Key |
cloneKey()
Clone the current key without influencing this instance
|
Key |
cloneKey(boolean includeValues)
Clone the current key without influencing this instance, whilst leaving the values
|
CompareResult |
compare(Key o,
CompareMethod method) |
boolean |
equals(Object obj) |
int |
getKeyCount() |
long |
getLeastSignificant() |
long |
getMostSignificant() |
String |
getValue() |
int |
hashCode() |
long |
size() |
String |
toString() |
addKey, compareTo, getChildrenAsComposite, getKey, getKey, getKeys, getKeysByName, hasChildren, setKeys, setKeys
public UUIDKey(String id)
public UUIDKey(UUID uuid)
public UUIDKey(long leastSignificant, long mostSignificant)
public long getLeastSignificant()
public long getMostSignificant()
public long size()
size
in interface Key
size
in class AbstractKey
public int getKeyCount()
getKeyCount
in interface Key
getKeyCount
in class AbstractKey
public CompareResult compare(Key o, CompareMethod method)
public int hashCode()
public boolean equals(Object obj)
public String toString()
public Key cloneKey()
Key
public Key cloneKey(boolean includeValues)
Key
includeValues
- True if child keys need to be included;public String getValue()
Copyright © 2015. All rights reserved.