- java.lang.Object
-
- org.apache.pig.impl.util.Pair<T,U>
-
- All Implemented Interfaces:
- java.io.Serializable
public class Pair<T,U>
extends java.lang.Object
implements java.io.Serializable
Copy of C++ STL pair container.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description |
Pair(T f,
U s) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
Pair
public Pair(T f,
U s)
- Parameters:
f
- First element in pair.
s
- Second element in pair.
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2017 The Apache Software Foundation