public static enum Dns.SortingOrder extends Enum<Dns.SortingOrder>
Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
Modifier and Type | Method and Description |
---|---|
String |
selector() |
static Dns.SortingOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dns.SortingOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dns.SortingOrder DESCENDING
public static final Dns.SortingOrder ASCENDING
public static Dns.SortingOrder[] values()
for (Dns.SortingOrder c : Dns.SortingOrder.values()) System.out.println(c);
public static Dns.SortingOrder 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 selector()
Copyright © 2019 Google LLC. All rights reserved.