LongBuffer
holds
a sequence of long values for use in an I/O
operation. Most of the methods of this class are directly analogous
to methods defined by ByteBuffer except that they
use long and long[ ] argument
and return values instead of byte and
byte[ ] values. See ByteBuffer
for details.
LongBuffer is abstract and has no constructor.
Create one by calling the static allocate( ) or
wrap( ) methods, which are also analogs of
ByteBuffer methods. Or, create a
"view"
LongBuffer by calling
the asLongBuffer( )
method of an underlying ByteBuffer.

public abstract class LongBuffer extends Buffer
implements Comparable<LongBuffer> {
// No Constructor
// Public Class Methods
public static LongBuffer allocate(int capacity);
public static LongBuffer wrap(long[ ] array);
public static LongBuffer wrap(long[ ] array, int offset, int length);
// Public Instance Methods
public final long[ ] array( );
public final int arrayOffset( );
public abstract LongBuffer asReadOnlyBuffer( );
public abstract LongBuffer compact( );
public abstract LongBuffer duplicate( );
public abstract long get( );
public abstract long get(int index);
public LongBuffer get(long[ ] dst);
public LongBuffer get(long[ ] dst, int offset, int length);
public final boolean hasArray( );
public abstract boolean isDirect( );
public abstract ByteOrder order( );
public LongBuffer put(LongBuffer src);
public abstract LongBuffer put(long l);
public final LongBuffer put(long[ ] src);
public abstract LongBuffer put(int index, long l);
public LongBuffer put(long[ ] src, int offset, int length);
public abstract LongBuffer slice( );
// Methods Implementing Comparable
5.0 public int compareTo(LongBuffer that);
// Public Methods Overriding Object
public boolean equals(Object ob);
public int hashCode( );
public String toString( );
}