org.jfree.chart
Class HashUtilities
java.lang.Object
org.jfree.chart.HashUtilities
Some utility methods for calculating hash codes.
hashCodeForDoubleArray
public static int hashCodeForDoubleArray(double[] a)
Returns a hash code for a double[]
instance. If the array
is null
, this method returns zero.
a
- the array (null
permitted).
hashCodeForPaint
public static int hashCodeForPaint(Paint p)
Returns a hash code for a Paint
instance. If
p
is null
, this method returns zero.
p
- the paint (null
permitted).