Class NativeArrayIteratorMethods

java.lang.Object
dev.vortex.jni.NativeArrayIteratorMethods

public final class NativeArrayIteratorMethods extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    free(long pointer)
    Free all resources associated with the stream behind the pointer.
    static long
    getDType(long pointer)
    Get a pointer to the DType of the elements of the stream.
    static long
    take(long pointer)
    Returns a pointer to the next element in the stream, or -1 if there are no more elements.

    Methods inherited from class java.lang.Object

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

    • free

      public static void free(long pointer)
      Free all resources associated with the stream behind the pointer.
    • take

      public static long take(long pointer)
      Returns a pointer to the next element in the stream, or -1 if there are no more elements.

      An exception is thrown if the stream is closed, either via free or due to a previous call to this method returning -1.

    • getDType

      public static long getDType(long pointer)
      Get a pointer to the DType of the elements of the stream.