ColorRGB8 { @Override public boolean equals(@Nullable final Object obj) { boolean eq; if (this == obj) { eq = true; } else if ((obj != null) && (obj instanceof ColorRGB8)) { final ColorRGB8 that = (ColorRGB8) obj; eq = that.canEqual(this); eq = eq && (r == that.r); eq = eq && (g == that.g); eq = eq && (b == that.b); } else { eq = false; } return eq; } ColorRGB8(
            final int r,
            final int g,
            final int b);  ColorRGB8(@Nonnull final Integer intRGB); @SuppressWarnings("UnusedDeclaration") @Deprecated private  ColorRGB8(); int getR(); int getG(); int getB(); @Nonnull ColorRGB8 withR(final int r); @Nonnull ColorRGB8 withG(final int g); @Nonnull ColorRGB8 withB(final int b); @Nonnull Integer toIntegerRGB(); boolean canEqual(@Nonnull final Object obj); @Override boolean equals(@Nullable final Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testEquals() { LOG.info("testEquals"); final ColorRGB8 s = y.withR(x1).withG(x2).withB(x3); final ColorRGB8 t = x.withR(y1).withG(y2).withB(y3); Assert.assertTrue(x.equals(s)); Assert.assertTrue(y.equals(t)); Assert.assertFalse(x.equals(t)); Assert.assertFalse(y.equals(s)); }