public class OwningFloatUnsafe extends AbstractOwningUnsafe implements FloatLongAccess, UnsafeAccess<OwningFloatUnsafe>, VolatileFloatAccess
owner
Constructor and Description |
---|
OwningFloatUnsafe(long numEntities) |
OwningFloatUnsafe(long numEntities,
boolean isValid) |
Modifier and Type | Method and Description |
---|---|
OwningFloatUnsafe |
createAccess(long numEntities) |
long |
getSize() |
PrimitiveType |
getType() |
float |
getValue(int index) |
float |
getValue(long index) |
boolean |
isValid() |
void |
setValue(int index,
float value) |
void |
setValue(long index,
float value) |
discard, getAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress
public OwningFloatUnsafe(long numEntities)
public OwningFloatUnsafe(long numEntities, boolean isValid)
public float getValue(int index)
getValue
in interface FloatAccess
public void setValue(int index, float value)
setValue
in interface FloatAccess
public float getValue(long index)
getValue
in interface FloatLongAccess
public void setValue(long index, float value)
setValue
in interface FloatLongAccess
public OwningFloatUnsafe createAccess(long numEntities)
createAccess
in interface UnsafeAccess<OwningFloatUnsafe>
public PrimitiveType getType()
getType
in interface UnsafeAccess<OwningFloatUnsafe>
public long getSize()
getSize
in interface UnsafeAccess<OwningFloatUnsafe>
public boolean isValid()
isValid
in interface VolatileAccess
Copyright © 2015–2022 ImgLib2. All rights reserved.