public enum BoundType extends Enum<BoundType>
| Enum Constant and Description |
|---|
EXCLUSIVE
Exclusive.
|
INCLUSIVE
Inclusive.
|
| Modifier and Type | Method and Description |
|---|---|
BoundType |
getComplement() |
static BoundType |
getMoreRestrictive(BoundType boundType1,
BoundType boundType2) |
static BoundType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundType INCLUSIVE
public static final BoundType EXCLUSIVE
public static BoundType[] values()
for (BoundType c : BoundType.values()) System.out.println(c);
public static 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 BoundType getComplement()
Copyright © 2018. All rights reserved.