public static class QuadraticEquationSolver.QuadraticRoots extends Object
Constructor and Description |
---|
QuadraticRoots(double root1,
double root2) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
double |
getRoot1()
The first root.
|
double |
getRoot2()
The second root.
|
int |
hashCode() |
void |
setRoot1(double root1)
The first root.
|
void |
setRoot2(double root2)
The second root.
|
String |
toString() |
public double getRoot1()
public double getRoot2()
public void setRoot1(double root1)
public void setRoot2(double root2)
protected boolean canEqual(Object other)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.