public enum BoundsRule extends Enum<BoundsRule>
Enum Constant and Description |
---|
INCLUDE_BOTH
Include both the upper and lower bounds
|
INCLUDE_LOWER
Include only the lower bound but not the upper bound
|
INCLUDE_NEITHER
Include none
|
INCLUDE_UPPER
Include only the upper bound but not the lower bound
|
Modifier and Type | Method and Description |
---|---|
static BoundsRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundsRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundsRule INCLUDE_BOTH
public static final BoundsRule INCLUDE_UPPER
public static final BoundsRule INCLUDE_LOWER
public static final BoundsRule INCLUDE_NEITHER
public static BoundsRule[] values()
for (BoundsRule c : BoundsRule.values()) System.out.println(c);
public static BoundsRule 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 © 2015–2024 The Apache Software Foundation. All rights reserved.