public static enum GlobalCache.ModuleType extends Enum<GlobalCache.ModuleType>
Enum Constant and Description |
---|
ethernet |
ir |
net |
relay |
serial |
unknown |
wifi |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static GlobalCache.ModuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalCache.ModuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalCache.ModuleType unknown
public static final GlobalCache.ModuleType ir
public static final GlobalCache.ModuleType serial
public static final GlobalCache.ModuleType relay
public static final GlobalCache.ModuleType wifi
public static final GlobalCache.ModuleType ethernet
public static final GlobalCache.ModuleType net
public static GlobalCache.ModuleType[] values()
for (GlobalCache.ModuleType c : GlobalCache.ModuleType.values()) System.out.println(c);
public static GlobalCache.ModuleType 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 String toString()
toString
in class Enum<GlobalCache.ModuleType>
Copyright © 2019. All rights reserved.