public enum CircuitSocketType extends java.lang.Enum<CircuitSocketType> implements ICircuitSocketType
| Enum Constant and Description |
|---|
ELECTRIC_ENGINE |
FARM |
MACHINE |
NONE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(ICircuitSocketType socketType)
comparison using uid
|
java.lang.String |
getUid()
unique identifier for this socket type
|
static CircuitSocketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CircuitSocketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CircuitSocketType NONE
public static final CircuitSocketType FARM
public static final CircuitSocketType ELECTRIC_ENGINE
public static final CircuitSocketType MACHINE
public static CircuitSocketType[] values()
for (CircuitSocketType c : CircuitSocketType.values()) System.out.println(c);
public static CircuitSocketType 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 java.lang.String getUid()
ICircuitSocketTypegetUid in interface ICircuitSocketTypepublic boolean equals(ICircuitSocketType socketType)
ICircuitSocketTypeequals in interface ICircuitSocketType