public static enum Range.BoundType extends Enum<Range.BoundType>
| Modifier and Type | Method and Description |
|---|---|
static Range.BoundType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Range.BoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Range.BoundType OPEN
public static final Range.BoundType CLOSED
public static final Range.BoundType UNBOUNDED
public static Range.BoundType[] values()
for (Range.BoundType c : Range.BoundType.values()) System.out.println(c);
public static Range.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 nullCopyright © 2020 Google LLC. All rights reserved.