org.elasticsearch.common.collect
Class Tuple<V1,V2>

java.lang.Object
  extended by org.elasticsearch.common.collect.Tuple<V1,V2>

public class Tuple<V1,V2>
extends Object


Constructor Summary
Tuple(V1 v1, V2 v2)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
static
<V1,V2> Tuple<V1,V2>
tuple(V1 v1, V2 v2)
           
 V1 v1()
           
 V2 v2()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple(V1 v1,
             V2 v2)
Method Detail

tuple

public static <V1,V2> Tuple<V1,V2> tuple(V1 v1,
                                         V2 v2)

v1

public V1 v1()

v2

public V2 v2()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012. All Rights Reserved.