| 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
|
static EmptyString |
create() |
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() |
public static EmptyString create()
public long getRecord()
IStringpublic int compare(IString string, boolean caseSensitive)
IStringpublic int compare(java.lang.String string,
boolean caseSensitive)
IStringpublic int compare(char[] chars,
boolean caseSensitive)
IStringpublic int compareCompatibleWithIgnoreCase(IString string)
IStringcompareCompatibleWithIgnoreCase in interface IStringpublic int compareCompatibleWithIgnoreCase(char[] chars)
IStringcompareCompatibleWithIgnoreCase in interface IStringpublic int comparePrefix(char[] name,
boolean caseSensitive)
IStringcomparePrefix in interface IStringname - the name to compare tocaseSensitive - whether to compare in a case-sensitive waypublic char[] getChars()
IStringN.B. This method can be expensive: compare and equals can be used for efficient comparisons
public java.lang.String getString()
IStringN.B. This method can be expensive: compare and equals can be used for efficient comparisons
public void delete()
IString