@Test public void testMisc() { int[] shape1 = new int[] {1, 2, 3}; Array<Integer> array = Arrays.factory(DataType.INT, shape1); Index index = array.getIndex(); assertThat(array.get(index.set(0, 1, 2))).isEqualTo(0); }
@Override public Integer get(int... index) { return storage.get(indexFn.get(index)); }
ArrayInteger extends Array<Integer> { @Override public Integer get(int... index) { return storage.get(indexFn.get(index)); } }
ArrayInteger extends Array<Integer> { @Override public Integer get(int... index) { return storage.get(indexFn.get(index)); } ArrayInteger(DataType dtype, int[] shape);  ArrayInteger(DataType dtype, int[] shape, Storage<Integer> storage); private  ArrayInteger(DataType dtype, IndexFn indexFn, Storage<Integer> storageD); }
ArrayInteger extends Array<Integer> { @Override public Integer get(int... index) { return storage.get(indexFn.get(index)); } ArrayInteger(DataType dtype, int[] shape);  ArrayInteger(DataType dtype, int[] shape, Storage<Integer> storage); private  ArrayInteger(DataType dtype, IndexFn indexFn, Storage<Integer> storageD); @Override Iterator<Integer> fastIterator(); @Override Iterator<Integer> iterator(); @Override Integer get(int... index); @Override Integer get(Index index); }
ArrayInteger extends Array<Integer> { @Override public Integer get(int... index) { return storage.get(indexFn.get(index)); } ArrayInteger(DataType dtype, int[] shape);  ArrayInteger(DataType dtype, int[] shape, Storage<Integer> storage); private  ArrayInteger(DataType dtype, IndexFn indexFn, Storage<Integer> storageD); @Override Iterator<Integer> fastIterator(); @Override Iterator<Integer> iterator(); @Override Integer get(int... index); @Override Integer get(Index index);  }