public interface StringIndex
Modifier and Type | Method and Description |
---|---|
String |
indexToString(int idx)
Returns the string for a given index.
|
int |
stringToIndex(String string)
Returns the index for a given string.
|
int stringToIndex(String string) throws IllegalArgumentException
string
- the indexed (or to be indexed) stringIllegalArgumentException
- if the string is not
(and can not be) indexedString indexToString(int idx) throws IllegalArgumentException
idx
- index of a stringIllegalArgumentException
- if the indexed string does not existCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.