public class CharRawIndexer extends CharIndexer
CharPointer using the Raw instance.Indexer.Index| Modifier and Type | Field and Description |
|---|---|
protected CharPointer |
pointer
The backing pointer.
|
protected static org.bytedeco.javacpp.indexer.Raw |
RAW
The instance for the raw memory interface.
|
VALUE_BYTES| Constructor and Description |
|---|
CharRawIndexer(CharPointer pointer)
Calls
CharRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
CharRawIndexer(CharPointer pointer,
long... sizes)
Calls
CharRawIndexer(pointer, sizes, strides(sizes)). |
CharRawIndexer(CharPointer pointer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
char |
get(long... indices)
Returns
array/buffer[index(indices)] |
char |
get(long i)
Returns
array/buffer[index(i)] |
CharIndexer |
get(long[] indices,
char[] c,
int offset,
int length)
Returns
this where c[offset:offset + length] = array/buffer[index(indices)] |
CharIndexer |
get(long i,
char[] c,
int offset,
int length)
Returns
this where c[offset:offset + length] = array/buffer[index(i)] |
char |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
CharIndexer |
get(long i,
long j,
char[] c,
int offset,
int length)
Returns
this where c[offset:offset + length] = array/buffer[index(i, j)] |
char |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
char |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
CharIndexer |
put(long[] indices,
char c)
Returns
this where array/buffer[index(indices)] = c |
CharIndexer |
put(long[] indices,
char[] c,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = c[offset:offset + length] |
CharIndexer |
put(long i,
char c)
Returns
this where array/buffer[index(i)] = c |
CharIndexer |
put(long i,
char[] c,
int offset,
int length)
Returns
this where array/buffer[index(i)] = c[offset:offset + length] |
CharIndexer |
put(long i,
long j,
char c)
Returns
this where array/buffer[index(i, j)] = c |
CharIndexer |
put(long i,
long j,
char[] c,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = c[offset:offset + length] |
CharIndexer |
put(long i,
long j,
long k,
char c)
Returns
this where array/buffer[index(i, j, k)] = c |
CharIndexer |
putRaw(long i,
char c) |
void |
release()
Makes sure changes are reflected onto the backing memory and clears any references.
|
create, create, create, create, create, create, create, create, create, create, get, get, get, getDouble, put, put, put, putDoubleprotected static final org.bytedeco.javacpp.indexer.Raw RAW
protected CharPointer pointer
public CharRawIndexer(CharPointer pointer)
CharRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }).public CharRawIndexer(CharPointer pointer, long... sizes)
CharRawIndexer(pointer, sizes, strides(sizes)).public CharRawIndexer(CharPointer pointer, long[] sizes, long[] strides)
public Pointer pointer()
Indexernull if nonepublic char getRaw(long i)
public char get(long i)
CharIndexerarray/buffer[index(i)]get in class CharIndexerpublic CharIndexer get(long i, char[] c, int offset, int length)
CharIndexerthis where c[offset:offset + length] = array/buffer[index(i)]get in class CharIndexerpublic char get(long i,
long j)
CharIndexerarray/buffer[index(i, j)]get in class CharIndexerpublic CharIndexer get(long i, long j, char[] c, int offset, int length)
CharIndexerthis where c[offset:offset + length] = array/buffer[index(i, j)]get in class CharIndexerpublic char get(long i,
long j,
long k)
CharIndexerarray/buffer[index(i, j, k)]get in class CharIndexerpublic char get(long... indices)
CharIndexerarray/buffer[index(indices)]get in class CharIndexerpublic CharIndexer get(long[] indices, char[] c, int offset, int length)
CharIndexerthis where c[offset:offset + length] = array/buffer[index(indices)]get in class CharIndexerpublic CharIndexer putRaw(long i, char c)
public CharIndexer put(long i, char c)
CharIndexerthis where array/buffer[index(i)] = cput in class CharIndexerpublic CharIndexer put(long i, char[] c, int offset, int length)
CharIndexerthis where array/buffer[index(i)] = c[offset:offset + length]put in class CharIndexerpublic CharIndexer put(long i, long j, char c)
CharIndexerthis where array/buffer[index(i, j)] = cput in class CharIndexerpublic CharIndexer put(long i, long j, char[] c, int offset, int length)
CharIndexerthis where array/buffer[index(i, j)] = c[offset:offset + length]put in class CharIndexerpublic CharIndexer put(long i, long j, long k, char c)
CharIndexerthis where array/buffer[index(i, j, k)] = cput in class CharIndexerpublic CharIndexer put(long[] indices, char c)
CharIndexerthis where array/buffer[index(indices)] = cput in class CharIndexerpublic CharIndexer put(long[] indices, char[] c, int offset, int length)
CharIndexerthis where array/buffer[index(indices)] = c[offset:offset + length]put in class CharIndexer