public enum StreetSuffix extends Enum<StreetSuffix>
| Enum Constant and Description |
|---|
Central |
East |
Extension |
Lower |
North |
NorthEast |
NorthWest |
South |
SouthEast |
SouthWest |
Undefined |
Upper |
West |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getName() |
String |
toString() |
static StreetSuffix |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreetSuffix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreetSuffix Undefined
public static final StreetSuffix Central
public static final StreetSuffix East
public static final StreetSuffix Extension
public static final StreetSuffix Lower
public static final StreetSuffix North
public static final StreetSuffix NorthEast
public static final StreetSuffix NorthWest
public static final StreetSuffix South
public static final StreetSuffix SouthEast
public static final StreetSuffix SouthWest
public static final StreetSuffix Upper
public static final StreetSuffix West
public static StreetSuffix[] values()
for (StreetSuffix c : StreetSuffix.values()) System.out.println(c);
public static StreetSuffix 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 String getCode()
public String getName()
public String toString()
toString in class Enum<StreetSuffix>Copyright © 2021. All rights reserved.