|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.mapper.Pair<X,Y>
X - the type of the first element of the pair.Y - the type of the second element of the pair.public class Pair<X,Y>
A pair of objects.
| Constructor Summary | |
|---|---|
Pair(X first,
Y second)
Creates a Pair with the specified elements. |
|
| Method Summary | |
|---|---|
X |
getFirst()
Returns the first element. |
Y |
getSecond()
Returns the second element. |
void |
setFirst(X first)
Set the first element of the pair. |
void |
setSecond(Y second)
Set the second element of the pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pair(X first,
Y second)
first - the first elementsecond - the second element| Method Detail |
|---|
public X getFirst()
public void setFirst(X first)
first - the first elementpublic Y getSecond()
public void setSecond(Y second)
second - the second element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||