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