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, getAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress
public OwningShortUnsafe(long numEntities)
public OwningShortUnsafe(long numEntities, 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 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 VolatileAccess
Copyright © 2015–2022 ImgLib2. All rights reserved.