Class AbstractLongArray<A extends AbstractLongArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractLongArray<A>
-
- All Implemented Interfaces:
java.io.Serializable
,ArrayDataAccess<A>
,LongAccess
- Direct Known Subclasses:
AbstractVolatileLongArray
,DirtyLongArray
,LongArray
public abstract class AbstractLongArray<A extends AbstractLongArray<A>> extends java.lang.Object implements LongAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]
data
-
Constructor Summary
Constructors Constructor Description AbstractLongArray(int numEntities)
AbstractLongArray(long[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
getCurrentStorageArray()
long
getValue(int index)
void
setValue(int index, long 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 long getValue(int index)
- Specified by:
getValue
in interfaceLongAccess
-
setValue
public void setValue(int index, long value)
- Specified by:
setValue
in interfaceLongAccess
-
getCurrentStorageArray
public long[] getCurrentStorageArray()
- Specified by:
getCurrentStorageArray
in interfaceArrayDataAccess<A extends AbstractLongArray<A>>
-
-