public enum TypedDependencyMode extends java.lang.Enum<TypedDependencyMode>
Enum Constant and Description |
---|
BASIC |
BASICNOEXTRA |
CCPROCESSED |
CCPROCESSEDNOEXTRA |
COLLAPSED |
COLLAPSEDNOEXTRA |
COLLAPSEDTREE |
ENHANCED |
ENHANCEDPLUSPLUS |
Modifier and Type | Field and Description |
---|---|
static long |
ALL_MASK
All mask
|
static TypedDependencyMode |
defaultMode |
private java.lang.String |
label
Label
|
private long |
mask
Mask
|
Modifier and Type | Method and Description |
---|---|
boolean |
ccProcess()
Whether this mode is ccprocessed
|
boolean |
collapse()
Whether this mode is collapsed
|
boolean |
enhanced()
Whether this mode is enhanced
|
boolean |
extras()
Whether this mode has extras
|
long |
mask()
Get mask
|
static long |
merge(TypedDependencyMode... typedDependencyModes)
Merge modes into composite value
|
static int |
setBits(long compositeMode)
Number of bits set in composite value
|
boolean[] |
split()
Split composite value
|
boolean |
test(long compositeMode)
Test if this composite value has this mode
|
static TypedDependencyMode[] |
toArray(long compositeMode)
Composite value to array
|
java.lang.String |
toLabel()
Get label
|
java.lang.Object |
toValue()
Get value
|
boolean |
tree()
Whether this mode is tree
|
static TypedDependencyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypedDependencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypedDependencyMode BASIC
public static final TypedDependencyMode BASICNOEXTRA
public static final TypedDependencyMode COLLAPSEDTREE
public static final TypedDependencyMode COLLAPSED
public static final TypedDependencyMode COLLAPSEDNOEXTRA
public static final TypedDependencyMode CCPROCESSED
public static final TypedDependencyMode CCPROCESSEDNOEXTRA
public static final TypedDependencyMode ENHANCED
public static final TypedDependencyMode ENHANCEDPLUSPLUS
private final java.lang.String label
private final long mask
public static final long ALL_MASK
public static final TypedDependencyMode defaultMode
public static TypedDependencyMode[] values()
for (TypedDependencyMode c : TypedDependencyMode.values()) System.out.println(c);
public static TypedDependencyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toLabel()
public java.lang.Object toValue()
public boolean[] split()
public boolean collapse()
public boolean extras()
public boolean ccProcess()
public boolean enhanced()
public boolean tree()
public long mask()
public static int setBits(long compositeMode)
compositeMode
- composite modepublic boolean test(long compositeMode)
compositeMode
- composite modepublic static TypedDependencyMode[] toArray(long compositeMode)
compositeMode
- composite modepublic static long merge(TypedDependencyMode... typedDependencyModes)
typedDependencyModes
- typed dependency modes