public static enum NetworkComponentNode.ComponentType extends Enum<NetworkComponentNode.ComponentType>
Enum Constant and Description |
---|
BRANCH |
GENERATOR |
LINE |
LOAD |
SWITCH |
TRANSFORMER |
Modifier and Type | Method and Description |
---|---|
static NetworkComponentNode.ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkComponentNode.ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkComponentNode.ComponentType LINE
public static final NetworkComponentNode.ComponentType BRANCH
public static final NetworkComponentNode.ComponentType TRANSFORMER
public static final NetworkComponentNode.ComponentType GENERATOR
public static final NetworkComponentNode.ComponentType LOAD
public static final NetworkComponentNode.ComponentType SWITCH
public static NetworkComponentNode.ComponentType[] values()
for (NetworkComponentNode.ComponentType c : NetworkComponentNode.ComponentType.values()) System.out.println(c);
public static NetworkComponentNode.ComponentType 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 nullCopyright © 2020. All rights reserved.