java.lang.Object | |
↳ | org.jfree.chart.HashUtilities |
Some utility methods for calculating hash codes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a hash value based on a seed value and a string instance.
| |||||||||||
Returns a hash value based on a seed value and the value of a double
primitive.
| |||||||||||
Returns a hash value based on a seed value and a stroke instance.
| |||||||||||
Computes a hash code for a PaintList.
| |||||||||||
Returns a hash value based on a seed value and a paint instance.
| |||||||||||
Computes a hash code for a StrokeList.
| |||||||||||
Returns a hash value based on a seed value and the value of a boolean
primitive.
| |||||||||||
Returns a hash value based on a seed value and a
Comparable
instance. | |||||||||||
Returns a hash value based on a seed value and an
Object
instance. | |||||||||||
Computes a hash code for a BooleanList.
| |||||||||||
Returns a hash value based on a seed value and the value of an int
primitive.
| |||||||||||
Returns a hash code for a
double[] instance. | |||||||||||
Returns a hash code for a
Paint instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns a hash value based on a seed value and a string instance.
pre | the seed value. |
---|---|
s | the string (null permitted). |
Returns a hash value based on a seed value and the value of a double primitive.
pre | the seed value. |
---|---|
d | the double value. |
Returns a hash value based on a seed value and a stroke instance.
pre | the seed value. |
---|---|
s | the stroke (null permitted). |
Computes a hash code for a PaintList. In the latest version of JCommon, the PaintList class should implement the hashCode() method correctly, but we compute it here anyway so that we can work with older versions of JCommon (back to 1.0.0).
pre | the seed value. |
---|---|
list | the list (null permitted). |
Returns a hash value based on a seed value and a paint instance.
pre | the seed value. |
---|---|
p | the paint (null permitted). |
Computes a hash code for a StrokeList. In the latest version of JCommon, the StrokeList class should implement the hashCode() method correctly, but we compute it here anyway so that we can work with older versions of JCommon (back to 1.0.0).
pre | the seed value. |
---|---|
list | the list (null permitted). |
Returns a hash value based on a seed value and the value of a boolean primitive.
pre | the seed value. |
---|---|
b | the boolean value. |
Returns a hash value based on a seed value and a Comparable
instance.
pre | the seed value. |
---|---|
c | the comparable (null permitted). |
Returns a hash value based on a seed value and an Object
instance.
pre | the seed value. |
---|---|
obj | the object (null permitted). |
Computes a hash code for a BooleanList. In the latest version of JCommon, the BooleanList class should implement the hashCode() method correctly, but we compute it here anyway so that we can work with older versions of JCommon (back to 1.0.0).
pre | the seed value. |
---|---|
list | the list (null permitted). |
Returns a hash value based on a seed value and the value of an int primitive.
pre | the seed value. |
---|---|
i | the int value. |
Returns a hash code for a double[]
instance. If the array
is null
, this method returns zero.
a | the array (null permitted). |
---|
Returns a hash code for a Paint
instance. If
p
is null
, this method returns zero.
p | the paint (null permitted). |
---|