public enum Signal extends Enum<Signal>
| Modifier and Type | Method and Description |
|---|---|
static Signal |
fromBooleanValue(boolean value) |
static Signal |
fromNumericValue(int value) |
static Signal |
fromString(String value) |
boolean |
getBooleanValue() |
int |
getNumericValue() |
Signal |
inverse() |
static Signal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Signal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Signal[] values()
for (Signal c : Signal.values()) System.out.println(c);
public static Signal 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 int getNumericValue()
public boolean getBooleanValue()
public static Signal fromNumericValue(int value)
public static Signal fromBooleanValue(boolean value)
public Signal inverse()
Copyright © 2015 silverspoon.io. All rights reserved.