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