public static final class ArrayView1D.IntArrayView1D extends ArrayView1D implements HjIntArrayView.HjIntArrayView1D
ArrayView1D.DoubleArrayView1D, ArrayView1D.IntArrayView1D
HjIntArrayView.HjIntArrayView1D, HjIntArrayView.HjIntArrayView2D, HjIntArrayView.HjIntArrayView3D
offset, shape
Constructor and Description |
---|
IntArrayView1D(int[] pDataRavel,
int pOffset,
HjRegion.HjRegion1D 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 |
get(int i) |
void |
inc(int v,
int i) |
void |
set(int v,
int i) |
region, toLinearIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
region
public IntArrayView1D(int[] pDataRavel, int pOffset, HjRegion.HjRegion1D pShape)
public int[] baseArray()
HjIntArrayView
baseArray
in interface HjIntArrayView
public int get(int i)
get
in interface HjIntArrayView.HjIntArrayView1D
i
- The first indexpublic void set(int v, int i)
set
in interface HjIntArrayView.HjIntArrayView1D
v
- The new valuei
- The first indexpublic void inc(int v, int i)
inc
in interface HjIntArrayView.HjIntArrayView1D
public void dec(int v, int i)
dec
in interface HjIntArrayView.HjIntArrayView1D
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.