NTv2Transform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public int hashCode() { return this.grid.hashCode(); } NTv2Transform(URI file); @Override int hashCode(); @Override boolean equals(final Object object); @Override synchronized MathTransform2D inverse(); @Override void transform(double[] srcPts, int srcOff, double[] dstPts,
            int dstOff, int numPts); void inverseTransform(double[] srcPts, int srcOff, double[] dstPts,
            int dstOff, int numPts); @Override int getSourceDimensions(); @Override int getTargetDimensions(); @Override ParameterValueGroup getParameterValues();  }
@Test public void testHashCodeEquals() throws Exception { NTv2Transform t2 = new NTv2Transform(new URI(TEST_GRID)); assertEquals(transform, t2); assertEquals(transform.hashCode(), t2.hashCode()); }