CharIndex.FullHash, CharIndex.Masked, CharIndex.Straight
Modifier and Type | Method and Description |
---|---|
int |
lookup(char c)
Returns the index (mapping result) for a given character.
|
int[] |
map(CharSequence s,
int[] mapped)
Performs lookups on an entire sequence of characters.
|
int |
nullElement()
Returns an index that is not used for any character in
the alphabet.
|
int |
size()
Returns the maximum index result that can be returned by
the lookup function (including the nullElement result
if applicable).
|
getInstance
public int lookup(char c)
CharIndex
public int[] map(CharSequence s, int[] mapped)
CharIndex
public int nullElement()
CharIndex
nullElement
in class CharIndex
public int size()
CharIndex
Copyright © 2018. All rights reserved.