public class Triple extends Object
Constructor and Description |
---|
Triple(double x,
double y,
double z)
Creates a new triple with the given values.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
double |
x()
Return the value of the first element of the triple.
|
double |
y()
Return the value of the second element of the triple.
|
double |
z()
Return the value of the third element of the triple.
|
public Triple(double x, double y, double z)
x
- the first elementy
- the second elementz
- the third elementpublic double x()
public double y()
public double z()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.