|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EditType>
org.crosswire.common.diff.EditType
public enum EditType
An Enumeration of the possible Edits.
The GNU Lesser General Public License for details.| Enum Constant Summary | |
|---|---|
DELETE
Delete a sequence. |
|
EQUAL
Equal sequences |
|
INSERT
Insert a sequence |
|
| Field Summary | |
|---|---|
private String |
name
The name of the EditType |
private char |
symbol
The symbol representing the EditType |
| Method Summary | |
|---|---|
static EditType |
fromString(String name)
Lookup method to find an EditType by name. |
static EditType |
fromSymbol(char symbol)
Lookup method to find an EditType by symbol. |
char |
getSymbol()
|
String |
toString()
|
static EditType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EditType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EditType DELETE
public static final EditType INSERT
public static final EditType EQUAL
| Field Detail |
|---|
private String name
private char symbol
| Method Detail |
|---|
public static EditType[] values()
for (EditType c : EditType.values()) System.out.println(c);
public static EditType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic char getSymbol()
public static EditType fromString(String name)
name - the case insensitive representation of the desired EditType
public static EditType fromSymbol(char symbol)
symbol - The symbol of the EditType
public String toString()
toString in class Enum<EditType>
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||