Interface LongArray

    • Method Detail

      • get

        long get​(long idx)
        Get value at idx.
      • length

        long length()
        Get array length.
      • indexOf

        long indexOf​(long value)
        Using the given value returns the first index corresponding to the value.
        Parameters:
        value - Value to lookup, and it must not be smaller than previous value
        Returns:
        The index of the given value or negative value if target value is greater than all values
      • close

        default void close()
                    throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException