|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectPair<X,Y>
public class Pair<X,Y>
Utility wrapper to allow one to effectively return two values from a method.
| Field Summary | |
|---|---|
X |
first
|
Y |
second
|
| Constructor Summary | |
|---|---|
Pair(X first,
Y second)
Constructor |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public X first
public Y second
| Constructor Detail |
|---|
public Pair(X first,
Y second)
first - the first valuesecond - the second value
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||