public static enum LengthComplexityRule.Interval.BoundType extends Enum<LengthComplexityRule.Interval.BoundType>
Enum Constant and Description |
---|
CLOSED
closed value.
|
OPEN
open value.
|
Modifier and Type | Method and Description |
---|---|
static LengthComplexityRule.Interval.BoundType |
parse(String text)
Returns the enum associated with the supplied text.
|
static LengthComplexityRule.Interval.BoundType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LengthComplexityRule.Interval.BoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LengthComplexityRule.Interval.BoundType CLOSED
public static final LengthComplexityRule.Interval.BoundType OPEN
public static LengthComplexityRule.Interval.BoundType[] values()
for (LengthComplexityRule.Interval.BoundType c : LengthComplexityRule.Interval.BoundType.values()) System.out.println(c);
public static LengthComplexityRule.Interval.BoundType 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 nullpublic static LengthComplexityRule.Interval.BoundType parse(String text)
CLOSED
. '(' and ')' return
OPEN
.text
- to parseIllegalArgumentException
- if text is not one of '[', ']', '(', ')'Copyright © 2003-2019 Virginia Tech. All Rights Reserved.