Javolution 6.0.0 java
|
Public Member Functions | |
Enum64 (T[] values) | |
Enum64 (T[] values, int nbrOfBits) | |
T | get () |
void | set (T e) |
String | toString () |
final Struct | struct () |
final int | offset () |
final int | bitIndex () |
final int | bitLength () |
Package Functions | |
final int | get (int wordSize, int word) |
final long | get (int wordSize, long word) |
final int | set (int value, int wordSize, int word) |
final long | set (long value, int wordSize, long word) |
Private Attributes | |
final T[] | _values |
final int | _offset |
final int | _bitIndex |
final int | _bitLength |
This class represents a 64 bits Enum.
Definition at line 1701 of file Struct.java.
javolution.io.Struct.Enum64< T extends Enum< T >.Enum64 | ( | T[] | values | ) |
Definition at line 1705 of file Struct.java.
References javolution.io.Struct.Enum64< T extends Enum< T >._values.
javolution.io.Struct.Enum64< T extends Enum< T >.Enum64 | ( | T[] | values, |
int | nbrOfBits | ||
) |
Definition at line 1710 of file Struct.java.
References javolution.io.Struct.Enum64< T extends Enum< T >._values.
|
inherited |
Holds the bit offset of this member (if any). The actual position of the bits data depends upon the endianess and the word size.
Definition at line 998 of file Struct.java.
References javolution.io.Struct.Member._bitIndex.
Referenced by javolution.io.Struct.Member.get(), javolution.io.Struct.BitField.longValue(), javolution.io.Struct.Member.set(), and javolution.io.Struct.BitField.set().
|
inherited |
Returns the number of bits in this member. Can be zero if this member is used to force the next member to the next word boundary.
Definition at line 1008 of file Struct.java.
References javolution.io.Struct.Member._bitLength.
Referenced by javolution.io.Struct.Member.get(), javolution.io.Struct.Bool.get(), javolution.io.Struct.Signed8.get(), javolution.io.Struct.Unsigned8.get(), javolution.io.Struct.Signed16.get(), javolution.io.Struct.Unsigned16.get(), javolution.io.Struct.Signed32.get(), javolution.io.Struct.Unsigned32.get(), javolution.io.Struct.Signed64.get(), javolution.io.Struct.BitField.longValue(), javolution.io.Struct.Member.Member(), javolution.io.Struct.Member.set(), javolution.io.Struct.Bool.set(), javolution.io.Struct.Signed8.set(), javolution.io.Struct.Unsigned8.set(), javolution.io.Struct.Signed16.set(), javolution.io.Struct.Unsigned16.set(), javolution.io.Struct.Signed32.set(), javolution.io.Struct.Unsigned32.set(), javolution.io.Struct.Signed64.set(), and javolution.io.Struct.BitField.set().
T javolution.io.Struct.Enum64< T extends Enum< T >.get | ( | ) |
Definition at line 1715 of file Struct.java.
References javolution.io.Struct.Enum64< T extends Enum< T >._values, javolution.io.Struct.getByteBuffer(), javolution.io.Struct.getByteBufferPosition(), and javolution.io.Struct.Member.offset().
|
packageinherited |
Definition at line 1013 of file Struct.java.
References javolution.io.Struct.Member.bitIndex(), javolution.io.Struct.Member.bitLength(), and javolution.io.Struct.byteOrder().
|
packageinherited |
Definition at line 1034 of file Struct.java.
References javolution.io.Struct.Member.bitIndex(), javolution.io.Struct.Member.bitLength(), and javolution.io.Struct.byteOrder().
|
inherited |
Returns the byte offset of this member in its struct. Equivalent to C/C++ offsetof(struct(), this)
Definition at line 989 of file Struct.java.
References javolution.io.Struct.Member._offset.
Referenced by javolution.io.Struct.UTF8String.get(), javolution.io.Struct.Bool.get(), javolution.io.Struct.Signed8.get(), javolution.io.Struct.Unsigned8.get(), javolution.io.Struct.Signed16.get(), javolution.io.Struct.Unsigned16.get(), javolution.io.Struct.Signed32.get(), javolution.io.Struct.Unsigned32.get(), javolution.io.Struct.Signed64.get(), javolution.io.Struct.Float32.get(), javolution.io.Struct.Float64.get(), javolution.io.Struct.Enum8< T extends Enum< T >.get(), javolution.io.Struct.Enum16< T extends Enum< T >.get(), javolution.io.Struct.Enum32< T extends Enum< T >.get(), javolution.io.Struct.Enum64< T extends Enum< T >.get(), javolution.io.Struct.Reference32< S extends Struct >.isUpToDate(), javolution.io.Struct.Reference64< S extends Struct >.isUpToDate(), javolution.io.Struct.BitField.longValue(), javolution.io.Struct.UTF8String.set(), javolution.io.Struct.Bool.set(), javolution.io.Struct.Signed8.set(), javolution.io.Struct.Unsigned8.set(), javolution.io.Struct.Signed16.set(), javolution.io.Struct.Unsigned16.set(), javolution.io.Struct.Signed32.set(), javolution.io.Struct.Unsigned32.set(), javolution.io.Struct.Signed64.set(), javolution.io.Struct.BitField.set(), javolution.io.Struct.Float32.set(), javolution.io.Struct.Float64.set(), javolution.io.Struct.Reference32< S extends Struct >.set(), javolution.io.Struct.Reference64< S extends Struct >.set(), javolution.io.Struct.Enum8< T extends Enum< T >.set(), javolution.io.Struct.Enum16< T extends Enum< T >.set(), javolution.io.Struct.Enum32< T extends Enum< T >.set(), javolution.io.Struct.Enum64< T extends Enum< T >.set(), javolution.io.Struct.Reference32< S extends Struct >.value(), and javolution.io.Struct.Reference64< S extends Struct >.value().
|
packageinherited |
Definition at line 1023 of file Struct.java.
References javolution.io.Struct.Member.bitIndex(), javolution.io.Struct.Member.bitLength(), and javolution.io.Struct.byteOrder().
|
packageinherited |
Definition at line 1044 of file Struct.java.
References javolution.io.Struct.Member.bitIndex(), javolution.io.Struct.Member.bitLength(), and javolution.io.Struct.byteOrder().
void javolution.io.Struct.Enum64< T extends Enum< T >.set | ( | T | e | ) |
Definition at line 1721 of file Struct.java.
References javolution.io.Struct.Enum64< T extends Enum< T >._values, javolution.io.Struct.getByteBuffer(), javolution.io.Struct.getByteBufferPosition(), and javolution.io.Struct.Member.offset().
|
inherited |
Returns the outer struct container.
Definition at line 979 of file Struct.java.
String javolution.io.Struct.Enum64< T extends Enum< T >.toString | ( | ) |
Definition at line 1732 of file Struct.java.
|
privateinherited |
Holds the relative bit offset of this member to its struct offset.
Definition at line 903 of file Struct.java.
Referenced by javolution.io.Struct.Member.bitIndex(), and javolution.io.Struct.Member.Member().
|
privateinherited |
Holds the bit length of this member.
Definition at line 907 of file Struct.java.
Referenced by javolution.io.Struct.Member.bitLength(), and javolution.io.Struct.Member.Member().
|
privateinherited |
Holds the relative offset (in bytes) of this member within its struct.
Definition at line 899 of file Struct.java.
Referenced by javolution.io.Struct.Member.Member(), and javolution.io.Struct.Member.offset().
|
private |
Definition at line 1703 of file Struct.java.
Referenced by javolution.io.Struct.Enum64< T extends Enum< T >.Enum64(), javolution.io.Struct.Enum64< T extends Enum< T >.get(), and javolution.io.Struct.Enum64< T extends Enum< T >.set().