public class ShortAccessProxy<T extends GenericShortType<T>> extends AbstractAccessProxy<T> implements ShortAccess, ArrayDataAccess<short[]>
GenericShortType
container.dimensions, position, ra, size
Constructor and Description |
---|
ShortAccessProxy(RandomAccessibleInterval<T> rai) |
Modifier and Type | Method and Description |
---|---|
short[] |
createArray(int numEntities) |
int |
getArrayLength() |
Object |
getCurrentStorageArray() |
short |
getValue(int index) |
void |
setValue(int index,
short value) |
public ShortAccessProxy(RandomAccessibleInterval<T> rai)
public short getValue(int index)
getValue
in interface ShortAccess
public void setValue(int index, short value)
setValue
in interface ShortAccess
public short[] createArray(int numEntities)
createArray
in interface ArrayDataAccess<short[]>
public Object getCurrentStorageArray()
getCurrentStorageArray
in interface ArrayDataAccess<short[]>
public int getArrayLength()
getArrayLength
in interface ArrayDataAccess<short[]>
Copyright © 2015–2022 ImgLib2. All rights reserved.