Serializable
, Comparable<DiffAlgorithm.SupportedAlgorithm>
public static enum DiffAlgorithm.SupportedAlgorithm extends Enum<DiffAlgorithm.SupportedAlgorithm>
Enum Constant | Description |
---|---|
HISTOGRAM |
Histogram diff algorithm
|
MYERS |
Myers diff algorithm
|
Modifier and Type | Method | Description |
---|---|---|
static DiffAlgorithm.SupportedAlgorithm |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DiffAlgorithm.SupportedAlgorithm[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffAlgorithm.SupportedAlgorithm MYERS
public static final DiffAlgorithm.SupportedAlgorithm HISTOGRAM
public static DiffAlgorithm.SupportedAlgorithm[] values()
for (DiffAlgorithm.SupportedAlgorithm c : DiffAlgorithm.SupportedAlgorithm.values()) System.out.println(c);
public static DiffAlgorithm.SupportedAlgorithm 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 © 2018. All rights reserved.