public class LongKey extends AbstractKey
Constructor and Description |
---|
LongKey(byte[] bytes) |
LongKey(long key) |
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) |
long |
getKey() |
int |
getKeyCount() |
Long |
getValue() |
int |
hashCode() |
long |
size() |
String |
toString() |
addKey, compareTo, getChildrenAsComposite, getKey, getKey, getKeys, getKeysByName, hasChildren, setKeys, setKeys
public long getKey()
public String toString()
public CompareResult compare(Key o, CompareMethod method)
public long size()
size
in interface Key
size
in class AbstractKey
public int getKeyCount()
getKeyCount
in interface Key
getKeyCount
in class AbstractKey
public int hashCode()
public boolean equals(Object obj)
public Key cloneKey()
Key
public Key cloneKey(boolean includeValues)
Key
includeValues
- True if child keys need to be included;public Long getValue()
Copyright © 2015. All rights reserved.