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