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