|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.lizardtech.djvu.BitContext
public class BitContext
This class impliments a mutable Byte type class. The byte is reported in the range of 0 to 255.
Field Summary | |
---|---|
byte |
bit
The raw value. |
Constructor Summary | |
---|---|
BitContext()
Creates a new BitContext object. |
|
BitContext(short s)
Creates a new BitContext object. |
Method Summary | |
---|---|
byte |
byteValue()
Query the raw byte value. |
java.lang.Object |
clone()
Clone this object. |
double |
doubleValue()
Query the double value. |
float |
floatValue()
Query the float value. |
int |
intValue()
Query the integer value. |
long |
longValue()
Query the long value. |
void |
set(int value)
Set the byte value. |
void |
set(java.lang.Number value)
Set the byte value from a Number object. |
short |
shortValue()
Query the short value. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte bit
Constructor Detail |
---|
public BitContext()
public BitContext(short s)
s
- DOCUMENT ME!Method Detail |
---|
public final byte byteValue()
byteValue
in class java.lang.Number
public java.lang.Object clone()
clone
in class java.lang.Object
public final double doubleValue()
doubleValue
in class java.lang.Number
public final float floatValue()
floatValue
in class java.lang.Number
public final int intValue()
intValue
in class java.lang.Number
public final long longValue()
longValue
in class java.lang.Number
public final void set(int value)
value
- the raw value to setpublic final void set(java.lang.Number value)
value
- the raw value to setpublic final short shortValue()
shortValue
in class java.lang.Number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |