Module notzed.zcl
Package au.notzed.zcl

Class CLDeviceProperty.PartitionByCounts

java.lang.Object
au.notzed.zcl.CLDeviceProperty.PartitionByCounts
All Implemented Interfaces:
CLDeviceProperty, CLProperty
Enclosing interface:
CLDeviceProperty

public static class CLDeviceProperty.PartitionByCounts
extends java.lang.Object
implements CLDeviceProperty
  • Nested Class Summary

    Nested classes/interfaces inherited from interface au.notzed.zcl.CLDeviceProperty

    CLDeviceProperty.PartitionByCounts, CLDeviceProperty.TagValue
  • Constructor Summary

    Constructors 
    Constructor Description
    PartitionByCounts​(int[] counts)  
  • Method Summary

    Modifier and Type Method Description
    int getSize()  
    int toInt​(jdk.incubator.foreign.MemoryAddress dst, int o)
    Encode this property as an integer array.
    int toLong​(jdk.incubator.foreign.MemoryAddress dst, int o)
    Encode this property as a long poke.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PartitionByCounts

      public PartitionByCounts​(int[] counts)
  • Method Details

    • getSize

      public int getSize()
      Specified by:
      getSize in interface CLProperty
    • toInt

      public int toInt​(jdk.incubator.foreign.MemoryAddress dst, int o)
      Description copied from interface: CLProperty
      Encode this property as an integer array.
      Specified by:
      toInt in interface CLProperty
      Parameters:
      dst - destination
      o - offset
      Returns:
      updated o = (o + getSize())
    • toLong

      public int toLong​(jdk.incubator.foreign.MemoryAddress dst, int o)
      Description copied from interface: CLProperty
      Encode this property as a long poke.
      Specified by:
      toLong in interface CLProperty
      Parameters:
      dst - destination
      o - offset
      Returns:
      updated o = (o + getSize()))