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