Class AbstractCharArray<A extends AbstractCharArray<A>>
java.lang.Object
net.imglib2.img.basictypeaccess.array.AbstractCharArray<A>
- All Implemented Interfaces:
Serializable
,ArrayDataAccess<A>
,CharAccess
- Direct Known Subclasses:
AbstractVolatileCharArray
,CharArray
,DirtyCharArray
public abstract class AbstractCharArray<A extends AbstractCharArray<A>>
extends Object
implements CharAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
data
protected char[] data
-
-
Constructor Details
-
AbstractCharArray
public AbstractCharArray(int numEntities) -
AbstractCharArray
public AbstractCharArray(char[] data)
-
-
Method Details
-
getValue
public char getValue(int index) - Specified by:
getValue
in interfaceCharAccess
-
setValue
public void setValue(int index, char value) - Specified by:
setValue
in interfaceCharAccess
-
getCurrentStorageArray
public char[] getCurrentStorageArray()- Specified by:
getCurrentStorageArray
in interfaceArrayDataAccess<A extends AbstractCharArray<A>>
-