public class ShortUnsafe extends AbstractStridedUnsafeLongAccess implements ShortLongAccess, VolatileShortAccess
DEFAULT_IS_VALID, stride
Constructor and Description |
---|
ShortUnsafe(long address) |
ShortUnsafe(long address,
boolean isValid) |
ShortUnsafe(long address,
Object ownerReference) |
ShortUnsafe(long address,
Object ownerReference,
boolean isValid) |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
long |
getAddres() |
short |
getValue(int index) |
short |
getValue(long index) |
void |
setValue(int index,
short value) |
void |
setValue(long index,
short value) |
getPosition, isValid
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValid
public ShortUnsafe(long address)
public ShortUnsafe(long address, boolean isValid)
public ShortUnsafe(long address, Object ownerReference)
public ShortUnsafe(long address, Object ownerReference, boolean isValid)
public short getValue(int index)
getValue
in interface ShortAccess
public void setValue(int index, short value)
setValue
in interface ShortAccess
public short getValue(long index)
getValue
in interface ShortLongAccess
public void setValue(long index, short value)
setValue
in interface ShortLongAccess
public long getAddres()
Copyright © 2015–2022 ImgLib2. All rights reserved.