public class CharTrie
extends java.lang.Object
Constructor and Description |
---|
CharTrie() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
findSubNode(int parentIndex,
char c) |
char [] |
getChars(int hashCode) |
int |
getHashCode(char[] chars) |
int |
getHashCode(char[] chars,
int offset,
int length) |
int |
getHashCode(java.lang.CharSequence seq) |
int |
getHashCodeForReversedChars(char[] chars) |
int |
getHashCodeForReversedChars(char[] chars,
int offset,
int length) |
long |
getMaximumMatch(java.lang.CharSequence seq,
int offset,
int length) |
char [] |
getReversedChars(int hashCode) |
java.lang.String |
getReversedString(int hashCode)
Returns reversed string by unique hash code.
|
java.lang.String |
getString(int hashCode) |
int |
size() |
public int size()
public java.lang.String getReversedString(int hashCode)
public java.lang.String getString(int hashCode)
public int getHashCode(char[] chars)
public int getHashCode(char[] chars, int offset, int length)
public int getHashCode(java.lang.CharSequence seq)
public long getMaximumMatch(java.lang.CharSequence seq, int offset, int length)
public char [] getChars(int hashCode)
public int getHashCodeForReversedChars(char[] chars)
public int getHashCodeForReversedChars(char[] chars, int offset, int length)
public char [] getReversedChars(int hashCode)
public int findSubNode(int parentIndex, char c)
public void clear()