return false;
}
if (!(obj instanceof PackedColorModel)) {
return false;
}
PackedColorModel cm = (PackedColorModel) obj;
return (pixel_bits == cm.getPixelSize() &&
transferType == cm.getTransferType() &&
cs.getType() == cm.getColorSpace().getType() &&
hasAlpha == cm.hasAlpha() &&
isAlphaPremultiplied == cm.isAlphaPremultiplied() &&
transparency == cm.getTransparency() &&
numColorComponents == cm.getNumColorComponents()&&
numComponents == cm.getNumComponents() &&
Arrays.equals(bits, cm.getComponentSize()) &&
Arrays.equals(componentMasks, cm.getMasks()));
}