public static enum Line.LineType extends Enum<Line.LineType>
| Enum Constant and Description |
|---|
FROM
This line is only contained in the first file of the Diff (the "from" file).
|
NEUTRAL
This line is contained in both filed of the Diff, and is thus considered "neutral".
|
TO
This line is only contained in the second file of the Diff (the "to" file).
|
| Modifier and Type | Method and Description |
|---|---|
static Line.LineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Line.LineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Line.LineType FROM
public static final Line.LineType TO
public static final Line.LineType NEUTRAL
public static Line.LineType[] values()
for (Line.LineType c : Line.LineType.values()) System.out.println(c);
public static Line.LineType 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 © 2016. All rights reserved.