private static enum SvnPatch.LineType extends java.lang.Enum<SvnPatch.LineType>
Enum Constant and Description |
---|
CONTEXT_LINE |
MODIFIED_LINE |
NOISE_LINE |
ORIGINAL_LINE |
Modifier and Type | Method and Description |
---|---|
static SvnPatch.LineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SvnPatch.LineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SvnPatch.LineType NOISE_LINE
public static final SvnPatch.LineType ORIGINAL_LINE
public static final SvnPatch.LineType MODIFIED_LINE
public static final SvnPatch.LineType CONTEXT_LINE
public static SvnPatch.LineType[] values()
for (SvnPatch.LineType c : SvnPatch.LineType.values()) System.out.println(c);
public static SvnPatch.LineType 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 null