Uses of Class
java.nio.LongBuffer

Packages that use LongBuffer
Package Description
java.nio  
java.util  
org.robovm.rt.bro  
org.robovm.rt.bro.ptr  
  • Uses of LongBuffer in java.nio

    Methods in java.nio that return LongBuffer
    Modifier and Type Method Description
    static LongBuffer LongBuffer.allocate​(int capacity)
    Creates a long buffer based on a newly allocated long array.
    abstract LongBuffer ByteBuffer.asLongBuffer()
    Returns a long buffer which is based on the remaining content of this byte buffer.
    abstract LongBuffer LongBuffer.asReadOnlyBuffer()
    Returns a read-only buffer that shares its content with this buffer.
    abstract LongBuffer LongBuffer.compact()
    Compacts this long buffer.
    abstract LongBuffer LongBuffer.duplicate()
    Returns a duplicated buffer that shares its content with this buffer.
    LongBuffer LongBuffer.get​(long[] dst)
    Reads longs from the current position into the specified long array and increases the position by the number of longs read.
    LongBuffer LongBuffer.get​(long[] dst, int dstOffset, int longCount)
    Reads longs from the current position into the specified long array, starting from the specified offset, and increase the position by the number of longs read.
    abstract LongBuffer LongBuffer.put​(int index, long l)
    Writes a long to the specified index of this buffer; the position is not changed.
    abstract LongBuffer LongBuffer.put​(long l)
    Writes the given long to the current position and increases the position by 1.
    LongBuffer LongBuffer.put​(long[] src)
    Writes longs from the given long array to the current position and increases the position by the number of longs written.
    LongBuffer LongBuffer.put​(long[] src, int srcOffset, int longCount)
    Writes longs from the given long array, starting from the specified offset, to the current position and increases the position by the number of longs written.
    LongBuffer LongBuffer.put​(LongBuffer src)
    Writes all the remaining longs of the src long buffer to this buffer's current position, and increases both buffers' position by the number of longs copied.
    abstract LongBuffer LongBuffer.slice()
    Returns a sliced buffer that shares its content with this buffer.
    static LongBuffer LongBuffer.wrap​(long[] array)
    Creates a new long buffer by wrapping the given long array.
    static LongBuffer LongBuffer.wrap​(long[] array, int start, int longCount)
    Creates a new long buffer by wrapping the given long array.
    Methods in java.nio with parameters of type LongBuffer
    Modifier and Type Method Description
    int LongBuffer.compareTo​(LongBuffer otherBuffer)
    Compare the remaining longs of this buffer to another long buffer's remaining longs.
    LongBuffer LongBuffer.put​(LongBuffer src)
    Writes all the remaining longs of the src long buffer to this buffer's current position, and increases both buffers' position by the number of longs copied.
  • Uses of LongBuffer in java.util

    Methods in java.util with parameters of type LongBuffer
    Modifier and Type Method Description
    static BitSet BitSet.valueOf​(LongBuffer longBuffer)
    Returns a BitSet corresponding to longBuffer, interpreted as a little-endian sequence of bits.
  • Uses of LongBuffer in org.robovm.rt.bro

    Methods in org.robovm.rt.bro that return LongBuffer
    Modifier and Type Method Description
    static LongBuffer BufferMarshalers.BufferMarshaler.toLongBuffer​(Class<?> cls, long handle, long flags, int d1)  
    static LongBuffer BufferMarshalers.BufferMarshaler.toLongBuffer​(Class<?> cls, long handle, long flags, int d1, int d2)  
    static LongBuffer BufferMarshalers.BufferMarshaler.toLongBuffer​(Class<?> cls, long handle, long flags, int d1, int d2, int d3)  
    Methods in org.robovm.rt.bro with parameters of type LongBuffer
    Modifier and Type Method Description
    static void BufferMarshalers.BufferMarshaler.toNative​(LongBuffer buffer, long handle, long flags, int d1)  
    static void BufferMarshalers.BufferMarshaler.toNative​(LongBuffer buffer, long handle, long flags, int d1, int d2)  
    static void BufferMarshalers.BufferMarshaler.toNative​(LongBuffer buffer, long handle, long flags, int d1, int d2, int d3)  
  • Uses of LongBuffer in org.robovm.rt.bro.ptr

    Methods in org.robovm.rt.bro.ptr that return LongBuffer
    Modifier and Type Method Description
    LongBuffer LongPtr.asLongBuffer​(int n)
    Returns a LongBuffer which reads and writes to the same memory location pointed to by this LongPtr.
    LongBuffer MachineSizedSIntPtr.asLongBuffer​(int n)
    Returns a LongBuffer which reads and writes to the same memory location pointed to by this MachineSizedSIntPtr.
    LongBuffer MachineSizedUIntPtr.asLongBuffer​(int n)
    Returns a LongBuffer which reads and writes to the same memory location pointed to by this MachineSizedUIntPtr.