Package banner.eval
Enum BANNER.MatchCriteria
- java.lang.Object
-
- java.lang.Enum<BANNER.MatchCriteria>
-
- banner.eval.BANNER.MatchCriteria
-
- All Implemented Interfaces:
Serializable,Comparable<BANNER.MatchCriteria>
- Enclosing class:
- BANNER
public static enum BANNER.MatchCriteria extends Enum<BANNER.MatchCriteria>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ApproximateLeftLeftOrRightPartialRightStrict
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BANNER.MatchCriteriavalueOf(String name)Returns the enum constant of this type with the specified name.static BANNER.MatchCriteria[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Strict
public static final BANNER.MatchCriteria Strict
-
Left
public static final BANNER.MatchCriteria Left
-
Right
public static final BANNER.MatchCriteria Right
-
LeftOrRight
public static final BANNER.MatchCriteria LeftOrRight
-
Approximate
public static final BANNER.MatchCriteria Approximate
-
Partial
public static final BANNER.MatchCriteria Partial
-
-
Method Detail
-
values
public static BANNER.MatchCriteria[] 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 (BANNER.MatchCriteria c : BANNER.MatchCriteria.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BANNER.MatchCriteria valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-