Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jna
Class NativeLong

    java.lang.Object
      java.lang.Number
          com.sun.jna.IntegerType
              com.sun.jna.NativeLong

All Implemented Interfaces:
  NativeMapped, Serializable

Direct Known Subclasses:
  WinNT.HRESULT, X11.VisualID, X11.XID, X11.Xrender.PictFormat

    public class NativeLong

extends IntegerType

Represents the `long` C data type, which may be 32 or 64 bits on *nix-based systems.

Author:
  wmeissner@gmail.com
See Also:
  Serialized Form

Field Summary
`static int` | `SIZE` Size of a native long, in bytes.

Constructor Summary
`NativeLong()` Create a zero-valued NativeLong.
`NativeLong(long value)` Create a NativeLong with the given value.

Method Summary

Methods inherited from class com.sun.jna.IntegerType
`doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString`

Methods inherited from class java.lang.Number
`byteValue, shortValue`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### SIZE

    public static final int SIZE

  Size of a native long, in bytes.

Constructor Detail

### NativeLong

    public NativeLong()

  Create a zero-valued NativeLong.

### NativeLong

    public NativeLong(long value)

  Create a NativeLong with the given value.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007-2010 Timothy Wall. All Rights Reserved.