com.kenai.jaffl.struct

Class Struct.SignedLong

public class Struct.SignedLong extends Struct.NumberField

A native long integer field.
Constructor Summary
SignedLong()
Creates a new native long field.
SignedLong(Struct.Offset offset)
Creates a new signed native long field at a specific offset
Method Summary
longget()
Gets the value for this field.
voidset(long value)
Sets the value for this field.
voidset(Number value)

Constructor Detail

SignedLong

public SignedLong()
Creates a new native long field.

SignedLong

public SignedLong(Struct.Offset offset)
Creates a new signed native long field at a specific offset

Parameters: offset The offset within the memory area for this field.

Method Detail

get

public final long get()
Gets the value for this field.

Returns: a long.

set

public final void set(long value)
Sets the value for this field.

Parameters: value the 32/64 bit value to set.

set

public void set(Number value)