public enum Sweep extends Enum<Sweep>
Enum Constant and Description |
---|
CONSUMING |
FREE_RANGING |
MOTIONLESS |
Modifier and Type | Method and Description |
---|---|
static Sweep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sweep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Sweep |
wider(Sweep a,
Sweep b)
Return the wider of two sweeps.
|
public static final Sweep MOTIONLESS
public static final Sweep CONSUMING
public static final Sweep FREE_RANGING
public static Sweep[] values()
for (Sweep c : Sweep.values()) System.out.println(c);
public static Sweep 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 (c) 2004-2014 Saxonica Limited. All rights reserved.