@Test public void testChs() { assertEquals(c1.negate(), new ComplexBuilder(c1).chs().build()); }
public ComplexBuilder chs() { re = -re; im = -im; return this; }
ComplexBuilder implements IBuilder<Complex> { public ComplexBuilder chs() { re = -re; im = -im; return this; } }
ComplexBuilder implements IBuilder<Complex> { public ComplexBuilder chs() { re = -re; im = -im; return this; } ComplexBuilder(final Complex c);  ComplexBuilder(final double re);  ComplexBuilder(final double re, final double im); }
ComplexBuilder implements IBuilder<Complex> { public ComplexBuilder chs() { re = -re; im = -im; return this; } ComplexBuilder(final Complex c);  ComplexBuilder(final double re);  ComplexBuilder(final double re, final double im); double getRe(); double getIm(); ComplexBuilder add(final Complex c); ComplexBuilder add(final double a); ComplexBuilder chs(); ComplexBuilder div(final Complex c); ComplexBuilder div(final double r); ComplexBuilder inv(); ComplexBuilder mul(final Complex c); ComplexBuilder mul(final double r); ComplexBuilder mul(final double x, final double y); ComplexBuilder sub(final Complex c); ComplexBuilder sub(final double r); @Override Complex build(); }
ComplexBuilder implements IBuilder<Complex> { public ComplexBuilder chs() { re = -re; im = -im; return this; } ComplexBuilder(final Complex c);  ComplexBuilder(final double re);  ComplexBuilder(final double re, final double im); double getRe(); double getIm(); ComplexBuilder add(final Complex c); ComplexBuilder add(final double a); ComplexBuilder chs(); ComplexBuilder div(final Complex c); ComplexBuilder div(final double r); ComplexBuilder inv(); ComplexBuilder mul(final Complex c); ComplexBuilder mul(final double r); ComplexBuilder mul(final double x, final double y); ComplexBuilder sub(final Complex c); ComplexBuilder sub(final double r); @Override Complex build();  }