Class Pair<S,​T>

java.lang.Object
com.flowable.indexing.utils.Pair<S,​T>

public class Pair<S,​T>
extends java.lang.Object
Provides an order pair of two values, also called a 2-tuple.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected S first  
    protected T second  
  • Constructor Summary

    Constructors 
    Constructor Description
    Pair​(S first, T second)  
  • Method Summary

    Modifier and Type Method Description
    S getFirst()  
    T getSecond()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • first

      protected final S first
    • second

      protected final T second
  • Constructor Details

    • Pair

      public Pair​(S first, T second)
  • Method Details

    • getFirst

      public S getFirst()
    • getSecond

      public T getSecond()
    • toString

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