public static enum AnnotationBuilderTest.RestrictionType extends Enum<AnnotationBuilderTest.RestrictionType>
Enum Constant and Description |
---|
FRACTION_DIGIT |
LENGTH |
NONE |
Modifier and Type | Method and Description |
---|---|
static AnnotationBuilderTest.RestrictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationBuilderTest.RestrictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationBuilderTest.RestrictionType NONE
public static final AnnotationBuilderTest.RestrictionType LENGTH
public static final AnnotationBuilderTest.RestrictionType FRACTION_DIGIT
public static AnnotationBuilderTest.RestrictionType[] values()
for (AnnotationBuilderTest.RestrictionType c : AnnotationBuilderTest.RestrictionType.values()) System.out.println(c);
public static AnnotationBuilderTest.RestrictionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 GroupLens Research. All rights reserved.