List of usage examples for org.jfree.data.function LineFunction2D hashCode
@Override public int hashCode()
From source file:org.jfree.data.function.LineFunction2DTest.java
/** * Objects that are equal should have the same hash code otherwise FindBugs * will tell on us...//from w w w . j a v a 2 s. c om */ @Test public void testHashCode() { LineFunction2D f1 = new LineFunction2D(1.0, 2.0); LineFunction2D f2 = new LineFunction2D(1.0, 2.0); assertEquals(f1.hashCode(), f2.hashCode()); }