public static enum HostConverter.Order extends Enum<HostConverter.Order>
Enum Constant and Description |
---|
ascAddress
By address, in ascending order.
|
ascId
By hostID, in ascending order.
|
descAddress
By address, in descending order.
|
descId
By hostID, in descending order.
|
Modifier and Type | Field and Description |
---|---|
Comparator<Host> |
comparator
The comparator used to sort the list of RestHost objects.
|
Modifier and Type | Method and Description |
---|---|
static HostConverter.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostConverter.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostConverter.Order ascId
public static final HostConverter.Order descId
public static final HostConverter.Order ascAddress
public static final HostConverter.Order descAddress
public final Comparator<Host> comparator
public static HostConverter.Order[] values()
for (HostConverter.Order c : HostConverter.Order.values()) System.out.println(c);
public static HostConverter.Order 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 © 2009–2020 Waarp. All rights reserved.