public enum WithinType extends Enum<WithinType>
Enum Constant and Description |
---|
FIRST_AND_LAST |
PREVIOUS_AND_CURRENT |
Modifier and Type | Method and Description |
---|---|
static WithinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WithinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WithinType PREVIOUS_AND_CURRENT
public static final WithinType FIRST_AND_LAST
public static WithinType[] values()
for (WithinType c : WithinType.values()) System.out.println(c);
public static WithinType 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 © 2014–2023 The Apache Software Foundation. All rights reserved.