Class AbstractVolatileNativeNumericType<N extends NumericType<N> & NativeType<N>,​T extends AbstractVolatileNativeNumericType<N,​T>>

    • Constructor Detail

      • AbstractVolatileNativeNumericType

        public AbstractVolatileNativeNumericType​(N t,
                                                 boolean valid)
    • Method Detail

      • getEntitiesPerPixel

        public Fraction getEntitiesPerPixel()
        Description copied from interface: NativeType
        Get the number of entities in the storage array required to store one pixel value. A pixel value may be spread over several or less than one entity. For example, a complex number may require 2 entries of a float[] array to store one pixel. Or a 12-bit type might need 12/64th entries of a long[] array.
        Specified by:
        getEntitiesPerPixel in interface NativeType<N extends NumericType<N> & NativeType<N>>
        Returns:
        the number of storage type entities required to store one pixel value.
      • index

        public Index index()
        Description copied from interface: NativeType
        Get the (modifiable) index into the current data array. The returned instance will always be the same for the same Type.
        Specified by:
        index in interface NativeType<N extends NumericType<N> & NativeType<N>>