A
- the access typepublic interface AccessIo<A>
ByteBuffer
.
All implementations for primitive ArrayDataAccess
types as well as
volatile and dirty variants are implemented as static inner classes.
Use get(PrimitiveType, Set)
to obtain the correct
AccessIo
implementation for a given PrimitiveType
,
AccessFlags
combination.
Modifier and Type | Method and Description |
---|---|
static <A> AccessIo<A> |
get(PrimitiveType primitiveType,
Set<AccessFlags> flags) |
static <T extends NativeType<T>,A> |
get(T type,
Set<AccessFlags> flags) |
int |
getBytesPerElement() |
A |
load(ByteBuffer bytes,
int numElements) |
void |
save(A access,
ByteBuffer out,
int numElements) |
static final AccessIo.DoubleArrayType doubleArrayIo
static final AccessIo.VolatileDoubleArrayType volatileDoubleArrayIo
static final AccessIo.DirtyDoubleArrayType dirtyDoubleArrayIo
static final AccessIo.DirtyVolatileDoubleArrayType dirtyVolatileDoubleArrayIo
static final AccessIo.FloatArrayType floatArrayIo
static final AccessIo.VolatileFloatArrayType volatileFloatArrayIo
static final AccessIo.DirtyFloatArrayType dirtyFloatArrayIo
static final AccessIo.DirtyVolatileFloatArrayType dirtyVolatileFloatArrayIo
static final AccessIo.IntArrayType intArrayIo
static final AccessIo.VolatileIntArrayType volatileIntArrayIo
static final AccessIo.DirtyIntArrayType dirtyIntArrayIo
static final AccessIo.DirtyVolatileIntArrayType dirtyVolatileIntArrayIo
static final AccessIo.LongArrayType longArrayIo
static final AccessIo.VolatileLongArrayType volatileLongArrayIo
static final AccessIo.DirtyLongArrayType dirtyLongArrayIo
static final AccessIo.DirtyVolatileLongArrayType dirtyVolatileLongArrayIo
static final AccessIo.ShortArrayType shortArrayIo
static final AccessIo.VolatileShortArrayType volatileShortArrayIo
static final AccessIo.DirtyShortArrayType dirtyShortArrayIo
static final AccessIo.DirtyVolatileShortArrayType dirtyVolatileShortArrayIo
static final AccessIo.CharArrayType charArrayIo
static final AccessIo.VolatileCharArrayType volatileCharArrayIo
static final AccessIo.DirtyCharArrayType dirtyCharArrayIo
static final AccessIo.DirtyVolatileCharArrayType dirtyVolatileCharArrayIo
static final AccessIo.ByteArrayType byteArrayIo
static final AccessIo.VolatileByteArrayType volatileByteArrayIo
static final AccessIo.DirtyByteArrayType dirtyByteArrayIo
static final AccessIo.DirtyVolatileByteArrayType dirtyVolatileByteArrayIo
A load(ByteBuffer bytes, int numElements)
int getBytesPerElement()
void save(A access, ByteBuffer out, int numElements)
static <T extends NativeType<T>,A> AccessIo<A> get(T type, Set<AccessFlags> flags)
static <A> AccessIo<A> get(PrimitiveType primitiveType, Set<AccessFlags> flags)
Copyright © 2015–2022 ImgLib2. All rights reserved.