Class Tuple<V1,​V2>

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

public class Tuple<V1,​V2>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Tuple​(V1 v1, V2 v2)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    int hashCode()  
    java.lang.String toString()  
    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, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object