public enum Locality extends Enum<Locality>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static Locality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Locality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="public") public static final Locality PUBLIC
@SerializedName(value="private") public static final Locality PRIVATE
public static Locality[] values()
for (Locality c : Locality.values()) System.out.println(c);
public static Locality 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 getValue()
Copyright © 2021. All rights reserved.