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

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

Creates a new long buffer that shares this buffer's content.

The content of the new buffer will be that of this buffer. 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 capacity, limit, position, and mark values will be identical to those of this buffer. 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