T
- public class OrderedPair<T> extends Object
Modifier and Type | Method and Description |
---|---|
T |
getElement1() |
T |
getElement2() |
void |
setElement1(T element1)
Sets the first element of an ordered pair.
|
void |
setElement2(T element2)
Sets the second element of an ordered pair.
|
String |
toString() |
public T getElement1()
public void setElement1(T element1)
element1
- the first element of an ordered pairpublic T getElement2()
public void setElement2(T element2)
element2
- the second element of an ordered pairCopyright © 2000–2016 BioJava. All rights reserved.