CoreFoundation.CFTypeID (JNA API)
Description: declaration: package: com.sun.jna.platform.mac, interface: CoreFoundation, class: CFTypeID

Package com.sun.jna.platform.mac

# Class CoreFoundation.CFTypeID

java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
com.sun.jna.NativeLong
com.sun.jna.platform.mac.CoreFoundation.CFTypeID

All Implemented Interfaces:
  `NativeMapped`, `Serializable`

Enclosing interface:
  CoreFoundation

public static class CoreFoundation.CFTypeID extends NativeLong
A type for unique, constant integer values that identify particular Core Foundation opaque types.

Because the value for a type ID can change from release to release, your code should not rely on stored or hard-coded type IDs nor should it hard-code any observed properties of a type ID (such as, for example, it being a small integer).

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class com.sun.jna.NativeLong

  `SIZE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CFTypeID()`
  `CFTypeID(long value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`

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

  `compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative`

  ### Methods inherited from class java.lang.Number

  `byteValue, shortValue`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CFTypeID

    public CFTypeID()

  - ### CFTypeID

    public CFTypeID(long value)

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `IntegerType`