Package com.netflix.discovery.shared
Class Pair<E1,E2>
- java.lang.Object
-
- com.netflix.discovery.shared.Pair<E1,E2>
-
- Type Parameters:
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> extends java.lang.ObjectAn utility class for stores any information that needs to exist as a pair.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E1first()E2second()voidsetFirst(E1 first)voidsetSecond(E2 second)
-