public class StringKey extends AbstractKey
Constructor and Description |
---|
StringKey(byte[] unicodeBytes) |
StringKey(String stringIndex) |
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) |
String |
getKey() |
int |
getKeyCount() |
byte[] |
getUnicodeBytes() |
String |
getValue() |
int |
hashCode() |
long |
size() |
String |
toString() |
addKey, compareTo, getChildrenAsComposite, getKey, getKey, getKeys, getKeysByName, hasChildren, setKeys, setKeys
public StringKey(String stringIndex)
public StringKey(byte[] unicodeBytes)
public String getKey()
public byte[] getUnicodeBytes()
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.