| Modifier and Type | Method and Description |
|---|---|
static Node.Type |
fromString(java.lang.String from) |
static Node.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Node.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.Type SERVER
public static final Node.Type RADIO
public static Node.Type[] values()
for (Node.Type c : Node.Type.values()) System.out.println(c);
public static Node.Type 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 Node.Type fromString(java.lang.String from)
Copyright © 2012-2014 TORCH GmbH. All Rights Reserved.