public abstract class AbstractShortArray<A extends AbstractShortArray<A>> extends Object implements ShortAccess, ArrayDataAccess<A>
Modifier and Type | Field and Description |
---|---|
protected short[] |
data |
Constructor and Description |
---|
AbstractShortArray(int numEntities) |
AbstractShortArray(short[] data) |
Modifier and Type | Method and Description |
---|---|
int |
getArrayLength() |
short[] |
getCurrentStorageArray() |
short |
getValue(int index) |
void |
setValue(int index,
short value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createArray
public AbstractShortArray(int numEntities)
public AbstractShortArray(short[] data)
public short getValue(int index)
getValue
in interface ShortAccess
public void setValue(int index, short value)
setValue
in interface ShortAccess
public short[] getCurrentStorageArray()
getCurrentStorageArray
in interface ArrayDataAccess<A extends AbstractShortArray<A>>
public int getArrayLength()
getArrayLength
in interface ArrayDataAccess<A extends AbstractShortArray<A>>
Copyright © 2015–2022 ImgLib2. All rights reserved.