@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final ColorCieLuv that = (ColorCieLuv) o;
        if (Double.compare(that.l, l) != 0) {
            return false;
        }
        if (Double.compare(that.u, u) != 0) {
            return false;
        }
        if (Double.compare(that.v, v) != 0) {
            return false;
        }

        return true;
    }
Constructs a new instance.

@param l Luminance L*.
@param u Chromaticity component u*.
@param v Chromaticity component v*.
src/main/java/org/apache/commons/imaging/color/ColorCieLuv.java