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