|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.discovery.shared.Pair<E1,E2>
E1 - Generics indicating the type information for the first one in the pair.E2 - Generics indicating the type information for the second one in the pair.public class Pair<E1,E2>
An utility class for stores any information that needs to exist as a pair.
| Constructor Summary | |
|---|---|
Pair(E1 first,
E2 second)
|
|
| Method Summary | |
|---|---|
E1 |
first()
|
E2 |
second()
|
void |
setFirst(E1 first)
|
void |
setSecond(E2 second)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pair(E1 first,
E2 second)
| Method Detail |
|---|
public E1 first()
public void setFirst(E1 first)
public E2 second()
public void setSecond(E2 second)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||