boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ImageInfo imageInfo = (ImageInfo)o; if (bpp != imageInfo.bpp) return false; if (height != imageInfo.height) return false; if (width != imageInfo.width) return false; return true; }