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, waitcreateArraypublic AbstractShortArray(int numEntities)
public AbstractShortArray(short[] data)
public short getValue(int index)
getValue in interface ShortAccesspublic void setValue(int index,
short value)
setValue in interface ShortAccesspublic 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.