public enum Signal extends Enum<Signal> implements Constant
Enum Constant and Description |
---|
NSIG |
SIGABRT |
SIGFPE |
SIGILL |
SIGINT |
SIGKILL |
SIGSEGV |
SIGTERM |
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
int |
value() |
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 final Signal SIGTERM
public static final Signal SIGSEGV
public static final Signal SIGABRT
public static final Signal SIGFPE
public static final Signal SIGILL
public static final Signal NSIG
public static final Signal SIGKILL
public static final Signal SIGINT
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(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 final int value()
Copyright © 2017. All Rights Reserved.