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