Enum ConcurrentRadixTree.SearchResult.Classification
- java.lang.Object
-
- java.lang.Enum<ConcurrentRadixTree.SearchResult.Classification>
-
- com.googlecode.concurrenttrees.radix.ConcurrentRadixTree.SearchResult.Classification
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConcurrentRadixTree.SearchResult.Classification>
- Enclosing class:
- ConcurrentRadixTree.SearchResult
static enum ConcurrentRadixTree.SearchResult.Classification extends java.lang.Enum<ConcurrentRadixTree.SearchResult.Classification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXACT_MATCH
INCOMPLETE_MATCH_TO_END_OF_EDGE
INCOMPLETE_MATCH_TO_MIDDLE_OF_EDGE
INVALID
KEY_ENDS_MID_EDGE
-
Constructor Summary
Constructors Modifier Constructor Description private
Classification()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConcurrentRadixTree.SearchResult.Classification
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConcurrentRadixTree.SearchResult.Classification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACT_MATCH
public static final ConcurrentRadixTree.SearchResult.Classification EXACT_MATCH
-
INCOMPLETE_MATCH_TO_END_OF_EDGE
public static final ConcurrentRadixTree.SearchResult.Classification INCOMPLETE_MATCH_TO_END_OF_EDGE
-
INCOMPLETE_MATCH_TO_MIDDLE_OF_EDGE
public static final ConcurrentRadixTree.SearchResult.Classification INCOMPLETE_MATCH_TO_MIDDLE_OF_EDGE
-
KEY_ENDS_MID_EDGE
public static final ConcurrentRadixTree.SearchResult.Classification KEY_ENDS_MID_EDGE
-
INVALID
public static final ConcurrentRadixTree.SearchResult.Classification INVALID
-
-
Method Detail
-
values
public static ConcurrentRadixTree.SearchResult.Classification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConcurrentRadixTree.SearchResult.Classification c : ConcurrentRadixTree.SearchResult.Classification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConcurrentRadixTree.SearchResult.Classification valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-