|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JackPortFlag> net.sf.jack4j.JackPortFlag
public enum JackPortFlag
Java version of Jack enum JackPortFlag
.
Enum Constant Summary | |
---|---|
CAN_MONITOR
|
|
IS_INPUT
|
|
IS_OUTPUT
|
|
IS_PHYSICAL
|
|
IS_TERMINAL
|
Method Summary | |
---|---|
static java.util.EnumSet<JackPortFlag> |
decode(int value)
Decodes int value as set of enum values. |
static int |
encode(java.util.Set<JackPortFlag> 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 JackPortFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JackPortFlag[] |
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 JackPortFlag IS_INPUT
public static final JackPortFlag IS_OUTPUT
public static final JackPortFlag IS_PHYSICAL
public static final JackPortFlag CAN_MONITOR
public static final JackPortFlag IS_TERMINAL
Method Detail |
---|
public static JackPortFlag[] values()
for (JackPortFlag c : JackPortFlag.values()) System.out.println(c);
public static JackPortFlag 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<JackPortFlag> flags)
int
, by ORing their
values together.
public static java.util.EnumSet<JackPortFlag> 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 |