public interface IString
| Modifier and Type | Method and Description |
|---|---|
int |
compare(char[] chars,
boolean caseSensitive)
Compare this IString record and the specified character array
|
int |
compare(IString string,
boolean caseSensitive)
Compare this IString record and the specified IString record
|
int |
compare(java.lang.String string,
boolean caseSensitive)
Compare this IString record and the specified String object
|
int |
compareCompatibleWithIgnoreCase(char[] chars)
Compare this IString record and the specified char array in a case sensitive manner
such that it is compatible with case insensitive comparison.
|
int |
compareCompatibleWithIgnoreCase(IString string)
Compare this IString record and the specified IString record in a case sensitive manner
such that it is compatible with case insensitive comparison.
|
int |
comparePrefix(char[] name,
boolean caseSensitive)
Compare this IString record and the specified character array
|
void |
delete()
Free the associated record in the Nd
|
char[] |
getChars()
Get an equivalent character array to this IString record
|
long |
getRecord()
Get the offset of this IString record in the Nd
|
java.lang.String |
getString()
Get an equivalent String object to this IString record
|
int |
length() |
long getRecord()
int compare(IString string, boolean caseSensitive) throws IndexException
string - caseSensitive - whether to compare in a case-sensitive wayIndexExceptionint compare(java.lang.String string,
boolean caseSensitive)
throws IndexException
string - caseSensitive - whether to compare in a case-sensitive wayIndexExceptionint compare(char[] chars,
boolean caseSensitive)
throws IndexException
chars - caseSensitive - whether to compare in a case-sensitive wayIndexExceptionint compareCompatibleWithIgnoreCase(IString string) throws IndexException
string - IndexExceptionint compareCompatibleWithIgnoreCase(char[] chars)
throws IndexException
chars - IndexExceptionint comparePrefix(char[] name,
boolean caseSensitive)
throws IndexException
name - the name to compare tocaseSensitive - whether to compare in a case-sensitive wayIndexExceptionchar[] getChars()
throws IndexException
N.B. This method can be expensive: compare and equals can be used for efficient comparisons
IndexExceptionjava.lang.String getString()
throws IndexException
N.B. This method can be expensive: compare and equals can be used for efficient comparisons
IndexExceptionvoid delete()
throws IndexException
IndexExceptionint length()