Modifier and Type | Class and Description |
---|---|
(package private) static class |
Signal.StringTable |
Enum Constant and Description |
---|
NSIG |
SIGABRT |
SIGFPE |
SIGILL |
SIGINT |
SIGSEGV |
SIGTERM |
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
private long |
value |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
int |
value() |
static Signal |
valueOf(java.lang.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 final Signal SIGINT
public static final Signal SIGILL
public static final Signal SIGABRT
public static final Signal SIGFPE
public static final Signal SIGSEGV
public static final Signal SIGTERM
public static final Signal NSIG
private final long value
public static final long MIN_VALUE
public static final long MAX_VALUE
public static Signal[] values()
for (Signal c : Signal.values()) System.out.println(c);
public static Signal 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 final java.lang.String toString()
toString
in class java.lang.Enum<Signal>
public final int value()