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