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 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 long getAddres()
public boolean isValid()
isValid
in interface VolatileAccess
Copyright © 2015–2022 ImgLib2. All rights reserved.