@Override
    public int hashCode() {
        int result;
        long temp;
        temp = Double.doubleToLongBits(c);
        result = (int) (temp ^ temp >>> 32);
        temp = Double.doubleToLongBits(m);
        result = 31 * result + (int) (temp ^ temp >>> 32);
        temp = Double.doubleToLongBits(y);
        result = 31 * result + (int) (temp ^ temp >>> 32);
        temp = Double.doubleToLongBits(k);
        return 31 * result + (int) (temp ^ temp >>> 32);
    }
Constructs a new instance.

@param c cyan.
@param m magenta.
@param y yellow.
@param k key.
src/main/java/org/apache/commons/imaging/color/ColorCmyk.java