F
- The first elementS
- The second elementpublic static class MetroIIDEDirectorForPtides.Pair<F,S>
extends java.lang.Object
Constructor and Description |
---|
Pair(F first,
S second)
Constructs a pair of elements.
|
Modifier and Type | Method and Description |
---|---|
F |
getFirst()
Gets the first element in the pair.
|
S |
getSecond()
Gets the second element in the pair.
|
void |
setFirst(F first)
Sets the first element in the pair.
|
void |
setSecond(S second)
Sets the second element in the pair.
|
public void setFirst(F first)
first
- the element to be set.getFirst()
public void setSecond(S second)
second
- the element to be set.getSecond()
public F getFirst()
setFirst(F)
public S getSecond()
setSecond(S)