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, getAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress
public OwningByteUnsafe(long numEntities)
public OwningByteUnsafe(long numEntities, boolean isValid)
public byte getValue(int index)
getValue
in interface ByteAccess
public void setValue(int index, byte value)
setValue
in interface ByteAccess
public byte getValue(long index)
getValue
in interface ByteLongAccess
public void setValue(long index, byte value)
setValue
in interface ByteLongAccess
public 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 VolatileAccess
Copyright © 2015–2022 ImgLib2. All rights reserved.