Class AbstractShortArray<A extends AbstractShortArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractShortArray<A>
-
- All Implemented Interfaces:
java.io.Serializable
,ArrayDataAccess<A>
,ShortAccess
- Direct Known Subclasses:
AbstractVolatileShortArray
,DirtyShortArray
,ShortArray
public abstract class AbstractShortArray<A extends AbstractShortArray<A>> extends java.lang.Object implements ShortAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected short[]
data
-
Constructor Summary
Constructors Constructor Description AbstractShortArray(int numEntities)
AbstractShortArray(short[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short[]
getCurrentStorageArray()
short
getValue(int index)
void
setValue(int index, short value)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.img.basictypeaccess.array.ArrayDataAccess
createArray
-
-
-
-
Method Detail
-
getValue
public short getValue(int index)
- Specified by:
getValue
in interfaceShortAccess
-
setValue
public void setValue(int index, short value)
- Specified by:
setValue
in interfaceShortAccess
-
getCurrentStorageArray
public short[] getCurrentStorageArray()
- Specified by:
getCurrentStorageArray
in interfaceArrayDataAccess<A extends AbstractShortArray<A>>
-
-