Class AbstractShortArray<A extends AbstractShortArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractShortArray<A>
-
- All Implemented Interfaces:
java.io.Serializable,ArrayDataAccess<A>,DataAccess,ShortAccess
- Direct Known Subclasses:
AbstractVolatileShortArray,DirtyShortArray,ShortArray
public abstract class AbstractShortArray<A extends AbstractShortArray<A>> extends java.lang.Object implements ShortAccess, ArrayDataAccess<A>
- 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 intgetArrayLength()short[]getCurrentStorageArray()shortgetValue(int index)voidsetValue(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
-
Methods inherited from interface net.imglib2.img.basictypeaccess.DataAccess
createView
-
-
-
-
Method Detail
-
getValue
public short getValue(int index)
- Specified by:
getValuein interfaceShortAccess
-
setValue
public void setValue(int index, short value)- Specified by:
setValuein interfaceShortAccess
-
getCurrentStorageArray
public short[] getCurrentStorageArray()
- Specified by:
getCurrentStorageArrayin interfaceArrayDataAccess<A extends AbstractShortArray<A>>
-
getArrayLength
public int getArrayLength()
- Specified by:
getArrayLengthin interfaceArrayDataAccess<A extends AbstractShortArray<A>>
-
-