Class Complex


  • public final class Complex
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double i  
      double r  
    • Constructor Summary

      Constructors 
      Constructor Description
      Complex​(double r, double i)  
      Complex​(Complex that)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object that)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • r

        public double r
      • i

        public double i
    • Constructor Detail

      • Complex

        public Complex​(double r,
                       double i)
      • Complex

        public Complex​(Complex that)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object