Tensor_S64 extends Tensor<Tensor_S64> { @Override public Class getDataType() { return long.class; } Tensor_S64(int... shape );  Tensor_S64(); @Override double getDouble(int... coordinate); @Override Object getData(); @Override void setData(Object data); @Override Tensor_S64 create(int... shape); @Override void zero(); @Override Class getDataType(); public long d; }
@Test public void getDataType() { Tensor_S64 T = new Tensor_S64(); assertTrue(long.class == T.getDataType()); }