public class ByteUnsafe extends Object implements ByteLongAccess, VolatileByteAccess
| Constructor and Description |
|---|
ByteUnsafe(long address) |
ByteUnsafe(long address,
boolean isValid) |
ByteUnsafe(long address,
Object ownerReference) |
ByteUnsafe(long address,
Object ownerReference,
boolean isValid) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalize() |
long |
getAddres() |
byte |
getValue(int index) |
byte |
getValue(long index) |
boolean |
isValid() |
void |
setValue(int index,
byte value) |
void |
setValue(long index,
byte value) |
public ByteUnsafe(long address)
public ByteUnsafe(long address,
boolean isValid)
public ByteUnsafe(long address,
Object ownerReference)
public ByteUnsafe(long address,
Object ownerReference,
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 long getAddres()
public boolean isValid()
isValid in interface VolatileAccessCopyright © 2015–2022 ImgLib2. All rights reserved.