public class OwningByteUnsafe extends AbstractOwningUnsafe implements ByteLongAccess, UnsafeAccess<OwningByteUnsafe>, VolatileByteAccess
owner| Constructor and Description |
|---|
OwningByteUnsafe(long numEntities) |
OwningByteUnsafe(long numEntities,
boolean isValid) |
| Modifier and Type | Method and Description |
|---|---|
OwningByteUnsafe |
createAccess(long numEntities) |
long |
getSize() |
PrimitiveType |
getType() |
byte |
getValue(int index) |
byte |
getValue(long index) |
boolean |
isValid() |
void |
setValue(int index,
byte value) |
void |
setValue(long index,
byte value) |
discard, getAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddresspublic OwningByteUnsafe(long numEntities)
public OwningByteUnsafe(long numEntities,
boolean isValid)
public byte getValue(int index)
getValue in interface ByteAccesspublic void setValue(int index,
byte value)
setValue in interface ByteAccesspublic byte getValue(long index)
getValue in interface ByteLongAccesspublic void setValue(long index,
byte value)
setValue in interface ByteLongAccesspublic OwningByteUnsafe createAccess(long numEntities)
createAccess in interface UnsafeAccess<OwningByteUnsafe>public PrimitiveType getType()
getType in interface UnsafeAccess<OwningByteUnsafe>public long getSize()
getSize in interface UnsafeAccess<OwningByteUnsafe>public boolean isValid()
isValid in interface VolatileAccessCopyright © 2015–2022 ImgLib2. All rights reserved.