public enum DependencyType extends Enum<DependencyType>
| Enum Constant and Description |
|---|
Narrow
Narrow Dependency means that each output file only requires one input file.
|
Wide
Wide Dependency means that each output file requires more than one input files.
|
| Modifier and Type | Method and Description |
|---|---|
static DependencyType |
getDependencyType(int value)
Get the enum value with the given integer value.
|
int |
getValue()
Get the integer value of this enum value.
|
static DependencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyType Wide
public static final DependencyType Narrow
public static DependencyType[] values()
for (DependencyType c : DependencyType.values()) System.out.println(c);
public static DependencyType 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 static DependencyType getDependencyType(int value) throws IOException
value - The integer value, 1 or 2, means Wide or NarrowIOExceptionpublic int getValue()
Copyright © 2015. All Rights Reserved.