public class Obj2Values extends Object
Obj2Values class
Constructor and Description |
---|
Obj2Values()
Initializes a new instance of the
Obj2Values class. |
Obj2Values(double val1,
double val2)
Initializes a new instance of the
Obj2Values class. |
Modifier and Type | Method and Description |
---|---|
double |
getVal1()
Gets or sets the val1.
|
double |
getVal2()
Gets or sets the val2.
|
void |
setVal1(double value)
Gets or sets the val1.
|
void |
setVal2(double value)
Gets or sets the val2.
|
public Obj2Values()
Initializes a new instance of the Obj2Values
class.
public Obj2Values(double val1, double val2)
Initializes a new instance of the Obj2Values
class.
val1
- The val1.val2
- The val2.public final double getVal1()
Gets or sets the val1.
public final void setVal1(double value)
Gets or sets the val1.
value
- The val1.public final double getVal2()
Gets or sets the val2.
public final void setVal2(double value)
Gets or sets the val2.
value
- The val2.