Logo Search packages:      
Sourcecode: cacao-oj6 version File versions

abstract LongBuffer java::nio::LongBuffer::slice (  )  [pure virtual]

Creates a new long buffer whose content is a shared subsequence of this buffer's content.

The content of the new buffer will start at this buffer's current position. Changes to this buffer's content will be visible in the new buffer, and vice versa; the two buffers' position, limit, and mark values will be independent.

The new buffer's position will be zero, its capacity and its limit will be the number of longs remaining in this buffer, and its mark will be undefined. The new buffer will be direct if, and only if, this buffer is direct, and it will be read-only if, and only if, this buffer is read-only.

The new long buffer

Implemented in java::nio::HeapLongBuffer, and java::nio::HeapLongBufferR.

Generated by  Doxygen 1.6.0   Back to index