| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T extends PointerBase> T | |
| public static <T extends PointerBase> T | |
| public static <T extends SignedWord> T | Returns: the value cast to Worda 64 bit signed value val)Unsafe conversion from a Java long value to a Word. |
| public static <T extends SignedWord> T | Returns: the value cast to Worda 32 bit signed value val)Unsafe conversion from a Java int value to a Word. |
| public static <T extends UnsignedWord> T | Returns: the value cast to Worda 64 bit unsigned value val)Unsafe conversion from a Java long value to a Word. |
| public static <T extends UnsignedWord> T | Returns: the value cast to Worda 32 bit unsigned value val)Unsafe conversion from a Java int value to a Word. |
| public static <T extends WordBase> T |
| WordFactory | back to summary |
|---|---|
| private WordFactory() | |
| nullPointer | back to summary |
|---|---|
| public static <T extends PointerBase> T nullPointer() The null pointer, i.e., the pointer with no bits set. There is no difference to a signed or
unsigned
| |
| pointer | back to summary |
|---|---|
| public static <T extends PointerBase> T pointer(long val) Unsafe conversion from a Java long value to a
| |
| signed | back to summary |
|---|---|
| public static <T extends SignedWord> T signed(long val) Unsafe conversion from a Java long value to a Word. The parameter is treated as a signed 64-bit value (unchanged semantics of a Java long).
| |
| signed | back to summary |
|---|---|
| public static <T extends SignedWord> T signed(int val) Unsafe conversion from a Java int value to a Word. The parameter is treated as a signed 32-bit value (unchanged semantics of a Java int).
| |
| unsigned | back to summary |
|---|---|
| public static <T extends UnsignedWord> T unsigned(long val) Unsafe conversion from a Java long value to a Word. The parameter is treated as an unsigned 64-bit value (in contrast to the semantics of a Java long).
| |
| unsigned | back to summary |
|---|---|
| public static <T extends UnsignedWord> T unsigned(int val) Unsafe conversion from a Java int value to a Word. The parameter is treated as an unsigned 32-bit value (in contrast to the semantics of a Java int).
| |
| zero | back to summary |
|---|---|
| public static <T extends WordBase> T zero() The constant 0, i.e., the word with no bits set. There is no difference between a signed and unsigned zero.
| |