compareto another komplex java.lang.comparable #compareto t concode_field_sep double r concode_elem_sep double i concode_field_sep Komplex minus concode_elem_sep Komplex minus concode_elem_sep Komplex minus concode_elem_sep Komplex minus concode_elem_sep double getI concode_elem_sep void setR concode_elem_sep double betrag concode_elem_sep double getR concode_elem_sep Komplex plus concode_elem_sep Komplex plus concode_elem_sep Komplex plus concode_elem_sep Komplex plus concode_elem_sep double phi concode_elem_sep void setI concode_elem_sep boolean isNull concode_elem_sep boolean equals concode_elem_sep String toTrigonometric concode_elem_sep Komplex divide concode_elem_sep Komplex divide concode_elem_sep Komplex divide concode_elem_sep Komplex divide concode_elem_sep String toString concode_elem_sep String toPolar concode_elem_sep Komplex multiply concode_elem_sep Komplex multiply concode_elem_sep Komplex multiply concode_elem_sep Komplex multiply concode_elem_sep Komplex konjugation concode_elem_sep Komplex konjugation
int function ( Komplex arg0 ) { double loc0 = r - arg0 . getR ( ) ; double loc1 = i - arg0 . getI ( ) ; if ( loc0 == 0.0 && loc1 == 0.0 ) return 0 ; if ( loc0 > 0.0 ) return 1 ; if ( loc0 == 0.0 ) if ( loc1 > 0.0 ) return 1 ; return - 1 ; }