public enum BridgeType extends java.lang.Enum<BridgeType>
Enum Constant | Description |
---|---|
antiparallel |
|
parallel |
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
name |
|
java.lang.Character |
type |
Modifier and Type | Method | Description |
---|---|---|
static BridgeType |
fromCharacter(java.lang.Character stype) |
|
java.lang.String |
toString() |
|
static BridgeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BridgeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeType parallel
public static final BridgeType antiparallel
public static BridgeType[] values()
for (BridgeType c : BridgeType.values()) System.out.println(c);
public static BridgeType 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 nullpublic static BridgeType fromCharacter(java.lang.Character stype)
public java.lang.String toString()
toString
in class java.lang.Enum<BridgeType>