public enum BlockOrder extends Enum<BlockOrder>
Modifier and Type | Method and Description |
---|---|
Comparator<Comparable> |
comparator() |
BlockOrder |
reversed() |
static BlockOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockOrder Natural
public static final BlockOrder Reverse
public static BlockOrder[] values()
for (BlockOrder c : BlockOrder.values()) System.out.println(c);
public static BlockOrder 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 BlockOrder reversed()
public Comparator<Comparable> comparator()
Copyright © 2023. All Rights Reserved.