WinDef.SHORT (JNA API)

com.sun.jna.platform.win32

## Class WinDef.SHORT

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

- All Implemented Interfaces:
    NativeMapped, java.io.Serializable, java.lang.Comparable<WinDef.SHORT>
  Enclosing interface:
    WinDef

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

  16-bit 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
    `SHORT()` Instantiates a new SHORT.
    `SHORT(long value)` Instantiates a new SHORT.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(WinDef.SHORT 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

    - #### SHORT

          public SHORT()

      Instantiates a new SHORT.

    - #### SHORT

          public SHORT(long value)

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

  - ### Method Detail

    - #### compareTo

          public int compareTo(WinDef.SHORT other)

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

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