gnu.x11
Class Enum
java.lang.Object
gnu.x11.Data
gnu.x11.Enum
public class Enum
- extends Data
Iteration over an array of byte data.
Constructor Summary |
Enum(Data data,
int offset,
int count)
|
Methods inherited from class gnu.x11.Data |
byte_to_string, len, len, n, np, p, pad, read_boolean, read_double, read_float, read_string, read1, read2, read4_boolean, read4, read8, to_string, toString, unit, unit, unit, write_string16, write_string16, write_unused, write1_unused, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write1, write2_unused, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write2, write3_unused, write4_unused, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write4, write8, write8, write8, write8, write8, write8, write8, write8 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
count
public int count
start_offset
public int start_offset
start_count
public int start_count
NEXT
public static final int NEXT
- See Also:
- Constant Field Values
NEXT1
public static final int NEXT1
- See Also:
- Constant Field Values
NEXT2
public static final int NEXT2
- See Also:
- Constant Field Values
NEXT4
public static final int NEXT4
- See Also:
- Constant Field Values
NEXT8
public static final int NEXT8
- See Also:
- Constant Field Values
NEXT_BOOLEAN
public static final int NEXT_BOOLEAN
- See Also:
- Constant Field Values
NEXT_DOUBLE
public static final int NEXT_DOUBLE
- See Also:
- Constant Field Values
NEXT_FLOAT
public static final int NEXT_FLOAT
- See Also:
- Constant Field Values
NEXT_INTEGER
public static final int NEXT_INTEGER
- See Also:
- Constant Field Values
NEXT_STRING
public static final int NEXT_STRING
- See Also:
- Constant Field Values
Enum
public Enum(Data data,
int offset,
int count)
more
public boolean more()
elt
public java.lang.Object elt(int i)
inc
public void inc(int i)
next
public java.lang.Object next()
- Next object. Reminder: it is important to call
inc(int)
in
overrided next()
. See source code of Colormap.colors(int[])
.
next1
public int next1()
next2
public int next2()
next4
public int next4()
next8
public long next8()
next_boolean
public boolean next_boolean()
next_double
public double next_double()
next_doublev
public double[] next_doublev(int len)
next_float
public float next_float()
next_integer
public int next_integer()
next_integerv
public int[] next_integerv(int len)
next_string
public java.lang.String next_string()
reset
public void reset()
to_string
public java.lang.String to_string(int kind)
- See Also:
to_string(int, String)
to_string
public java.lang.String to_string(int kind,
java.lang.String prefix)
- Parameters:
kind
- valid:
NEXT
,
NEXT1
,
NEXT2
,
NEXT4
,
NEXT8
,
NEXT_BOOLEAN
,
NEXT_DOUBLE
,
NEXT_FLOAT
,
NEXT_STRING