18 #ifndef _DECAF_INTERNAL_NIO_LONGARRAYBUFFER_H_ 19 #define _DECAF_INTERNAL_NIO_LONGARRAYBUFFER_H_ 86 LongArrayBuffer(
long long* array,
int size,
int offset,
int length,
bool readOnly =
false );
106 bool readOnly =
false );
125 virtual long long* array();
130 virtual int arrayOffset();
135 virtual LongBuffer* asReadOnlyBuffer()
const;
140 virtual LongBuffer& compact();
145 virtual LongBuffer* duplicate();
150 virtual long long get();
155 virtual long long get(
int index )
const;
166 return this->readOnly;
172 virtual LongBuffer& put(
long long value );
177 virtual LongBuffer& put(
int index,
long long value );
182 virtual LongBuffer* slice()
const;
193 this->readOnly = value;
virtual bool isReadOnly() const
Tells whether or not this buffer is read-only.true if, and only if, this buffer is read-only...
Definition: LongArrayBuffer.h:165
virtual void setReadOnly(bool value)
Sets this LongArrayBuffer as Read-Only.
Definition: LongArrayBuffer.h:192
This class defines four categories of operations upon long long buffers:
Definition: LongBuffer.h:50
This class adapts primitive type arrays to a base byte array so that the classes can inter-operate on...
Definition: ByteArrayAdapter.h:43
virtual bool hasArray() const
Tells whether or not this buffer is backed by an accessible long long array.If this method returns tr...
Definition: LongArrayBuffer.h:160
#define DECAF_API
Definition: Config.h:29
Definition: LongArrayBuffer.h:37
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25