WinDef.USHORT (JNA API)

com.sun.jna.platform.win32

## Class WinDef.USHORT

- java.lang.Object
- - java.lang.Number
  - - com.sun.jna.IntegerType
    - - com.sun.jna.platform.win32.WinDef.USHORT

- All Implemented Interfaces:
    NativeMapped, java.io.Serializable, java.lang.Comparable<WinDef.USHORT>
  Direct Known Subclasses:
    WTypes.VARTYPE
  Enclosing interface:
    WinDef

      public static class WinDef.USHORT
      extends IntegerType
      implements java.lang.Comparable<WinDef.USHORT>

  16-bit unsigned short.
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `SIZE` The Constant SIZE.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `USHORT()` Instantiates a new USHORT.
    `USHORT(long value)` Instantiates a new USHORT.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(WinDef.USHORT other)`

    - ### Methods inherited from class com.sun.jna.IntegerType

      `compare, compare, compare, 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

      The Constant SIZE.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### USHORT

          public USHORT()

      Instantiates a new USHORT.

    - #### USHORT

          public USHORT(long value)

      Instantiates a new USHORT.
      Parameters:
        `value` - the value

  - ### Method Detail

    - #### compareTo

          public int compareTo(WinDef.USHORT other)

      Specified by:
        `compareTo` in interface `java.lang.Comparable<WinDef.USHORT>`

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