Top Description Fields Constructors Methods
com.sun.jna

public Class NativeLong

extends IntegerType
Class Inheritance

Represents the long C data type, which may be 32 or 64 bits on *nix-based systems.
Author
[email protected]

Field Summary

Modifier and TypeField and Description
private static final long
public static final int
SIZE

Size of a native long, in bytes.

Constructor Summary

AccessConstructor and Description
public
NativeLong()

Create a zero-valued NativeLong.

public
NativeLong(long value)

Create a NativeLong with the given value.

public
NativeLong(long value, boolean unsigned)

Create a NativeLong with the given value, optionally unsigned.

Method Summary

Inherited from com.sun.jna.IntegerType:
comparecomparecomparedoubleValueequalsfloatValuefromNativehashCodeintValuelongValuenativeTypesetValuetoNativetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.jna.IntegerType.serialVersionUID.

SIZEback to summary
public static final int SIZE

Size of a native long, in bytes.

Constructor Detail

NativeLongback to summary
public NativeLong()

Create a zero-valued NativeLong.

NativeLongback to summary
public NativeLong(long value)

Create a NativeLong with the given value.

NativeLongback to summary
public NativeLong(long value, boolean unsigned)

Create a NativeLong with the given value, optionally unsigned.