public enum EditType extends Enum<EditType>
The GNU Lesser General Public License for details.
Enum Constant and Description |
---|
DELETE
Delete a sequence.
|
EQUAL
Equal sequences
|
INSERT
Insert a sequence
|
Modifier and Type | Field and Description |
---|---|
private String |
name
The name of the EditType
|
private char |
symbol
The symbol representing the EditType
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final EditType DELETE
public static final EditType INSERT
public static final EditType EQUAL
private String name
private char symbol
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 nameNullPointerException
- if the argument is nullpublic char getSymbol()
public static EditType fromString(String name)
name
- the case insensitive representation of the desired EditTypepublic static EditType fromSymbol(char symbol)
symbol
- The symbol of the EditType