|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JackStatus> net.sf.jack4j.JackStatus
public enum JackStatus
Java version of Jack enum JackStatus
.
Method Summary | |
---|---|
static java.util.EnumSet<JackStatus> |
decode(int value)
Decodes int value as set of enum values. |
static int |
encode(java.util.Set<JackStatus> flags)
Encodes set of enum constants as int , by ORing their
values together. |
int |
intValue()
Returns integer value of native constant corresponding to this enum value. |
protected abstract int |
nativeIntValue()
|
static JackStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JackStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JackStatus JackFailure
public static final JackStatus JackInvalidOption
public static final JackStatus JackNameNotUnique
public static final JackStatus JackServerStarted
public static final JackStatus JackServerFailed
public static final JackStatus JackServerError
public static final JackStatus JackNoSuchClient
public static final JackStatus JackLoadFailure
public static final JackStatus JackInitFailure
public static final JackStatus JackShmFailure
public static final JackStatus JackVersionError
Method Detail |
---|
public static JackStatus[] values()
for (JackStatus c : JackStatus.values()) System.out.println(c);
public static JackStatus 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 name
java.lang.NullPointerException
- if the argument is nullprotected abstract int nativeIntValue()
public int intValue()
public static int encode(java.util.Set<JackStatus> flags)
int
, by ORing their
values together.
public static java.util.EnumSet<JackStatus> decode(int value)
int
value as set of enum values.
The value
must be a result of ORing values of native enum
constants.
java.lang.IllegalArgumentException
- if the value contains unrecognized bits
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |