public static enum FlagValueCalculator.Result extends Enum<FlagValueCalculator.Result>
FlagValueCalculator.getMembership(RegionAssociable).| Enum Constant and Description |
|---|
FAIL
Indicates that the player is not a member of all overlapping
regions.
|
NO_REGIONS
Indicates that there are no regions or the only regions are
ones with
DefaultFlag.PASSTHROUGH enabled. |
SUCCESS
Indicates that the player is a member of all overlapping
regions.
|
| Modifier and Type | Method and Description |
|---|---|
static FlagValueCalculator.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlagValueCalculator.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlagValueCalculator.Result NO_REGIONS
DefaultFlag.PASSTHROUGH enabled.public static final FlagValueCalculator.Result FAIL
public static final FlagValueCalculator.Result SUCCESS
public static FlagValueCalculator.Result[] values()
for (FlagValueCalculator.Result c : FlagValueCalculator.Result.values()) System.out.println(c);
public static FlagValueCalculator.Result 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 © 2015. All Rights Reserved.