public static final class ArrayView3D.IntArrayView3D extends ArrayView3D implements HjIntArrayView.HjIntArrayView3D
ArrayView3D.DoubleArrayView3D, ArrayView3D.IntArrayView3D
HjIntArrayView.HjIntArrayView1D, HjIntArrayView.HjIntArrayView2D, HjIntArrayView.HjIntArrayView3D
offset, shape
Constructor and Description |
---|
IntArrayView3D(int[] pDataRavel,
int pOffset,
HjRegion.HjRegion3D pShape)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
baseArray()
The raw Java 1-D array wrapped by the array view.
|
void |
dec(int v,
int i,
int j,
int k) |
int |
get(int i,
int j,
int k) |
void |
inc(int v,
int i,
int j,
int k) |
void |
set(int v,
int i,
int j,
int k) |
region, toLinearIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
region
public IntArrayView3D(int[] pDataRavel, int pOffset, HjRegion.HjRegion3D pShape)
public int[] baseArray()
HjIntArrayView
baseArray
in interface HjIntArrayView
public int get(int i, int j, int k)
get
in interface HjIntArrayView.HjIntArrayView3D
i
- The first indexj
- The second indexk
- The third indexpublic void set(int v, int i, int j, int k)
set
in interface HjIntArrayView.HjIntArrayView3D
v
- The new valuei
- The first indexj
- The second indexk
- The third indexpublic void inc(int v, int i, int j, int k)
inc
in interface HjIntArrayView.HjIntArrayView3D
public void dec(int v, int i, int j, int k)
dec
in interface HjIntArrayView.HjIntArrayView3D
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.