public enum OddEvenIndicator extends Enum<OddEvenIndicator>
Enum Constant and Description |
---|
BOTH
Both odd and even numbers are used
|
EVEN
Only even numbers are used
|
IRREGULAR
House numbering is irregular
|
ODD
Only odd numbers are used
|
UNKNOWN
Odd even status not known
|
Modifier and Type | Method and Description |
---|---|
static OddEvenIndicator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OddEvenIndicator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OddEvenIndicator UNKNOWN
public static final OddEvenIndicator BOTH
public static final OddEvenIndicator ODD
public static final OddEvenIndicator EVEN
public static final OddEvenIndicator IRREGULAR
public static OddEvenIndicator[] values()
for (OddEvenIndicator c : OddEvenIndicator.values()) System.out.println(c);
public static OddEvenIndicator 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 © 2024. All rights reserved.