public static enum UnifiedDiffElement.Type extends Enum<UnifiedDiffElement.Type>
Enum Constant and Description |
---|
ADDED
An element that was added.
|
CONTEXT
An element that was left unmodified.
|
DELETED
An element that was removed.
|
Modifier and Type | Method and Description |
---|---|
char |
getSymbol() |
static UnifiedDiffElement.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnifiedDiffElement.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnifiedDiffElement.Type ADDED
public static final UnifiedDiffElement.Type DELETED
public static final UnifiedDiffElement.Type CONTEXT
public static UnifiedDiffElement.Type[] values()
for (UnifiedDiffElement.Type c : UnifiedDiffElement.Type.values()) System.out.println(c);
public static UnifiedDiffElement.Type 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 char getSymbol()
Copyright © 2004–2016 XWiki. All rights reserved.