|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BitOutputStream.BitOrder>
fi.helsinki.cs.ohtu.mpeg2.util.BitOutputStream.BitOrder
public static enum BitOutputStream.BitOrder
This enum specifies the bit order used.
Enum Constant Summary | |
---|---|
LEAST_SIGNIFICANT_FIRST
The least significant bit is written first. |
|
MOST_SIGNIFICANT_FIRST
The most significant bit is written first. |
Field Summary | |
---|---|
private int |
initial
|
private int |
shift
|
Method Summary | |
---|---|
(package private) int |
getInitial()
Returns the first bit to be set in a byte. |
(package private) int |
getShift()
Returns the shift amount. |
static BitOutputStream.BitOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BitOutputStream.BitOrder[] |
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 BitOutputStream.BitOrder MOST_SIGNIFICANT_FIRST
public static final BitOutputStream.BitOrder LEAST_SIGNIFICANT_FIRST
Field Detail |
---|
private final int initial
private final int shift
Method Detail |
---|
public static BitOutputStream.BitOrder[] values()
for (BitOutputStream.BitOrder c : BitOutputStream.BitOrder.values()) System.out.println(c);
public static BitOutputStream.BitOrder 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 nullint getInitial()
int getShift()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |