|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BytesTrie.Result>
com.ibm.icu.util.BytesTrie.Result
public static enum BytesTrie.Result
Return values for BytesTrie.next(), CharsTrie.next() and similar methods.
| Enum Constant Summary | |
|---|---|
FINAL_VALUE
The input unit(s) continued a matching string and there is a value for the string so far. |
|
INTERMEDIATE_VALUE
The input unit(s) continued a matching string and there is a value for the string so far. |
|
NO_MATCH
The input unit(s) did not continue a matching string. |
|
NO_VALUE
The input unit(s) continued a matching string but there is no value for the string so far. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Equivalent to (result==NO_VALUE || result==INTERMEDIATE_VALUE). |
boolean |
hasValue()
Equivalent to (result==INTERMEDIATE_VALUE || result==FINAL_VALUE). |
boolean |
matches()
Same as (result! |
static BytesTrie.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BytesTrie.Result[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BytesTrie.Result NO_MATCH
public static final BytesTrie.Result NO_VALUE
public static final BytesTrie.Result FINAL_VALUE
public static final BytesTrie.Result INTERMEDIATE_VALUE
| Method Detail |
|---|
public static BytesTrie.Result[] values()
for (BytesTrie.Result c : BytesTrie.Result.values()) System.out.println(c);
public static BytesTrie.Result valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean matches()
public boolean hasValue()
BytesTrie.getValue()public boolean hasNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||