Interface Pair<A,​B>

  • Type Parameters:
    A - type of the first component
    B - type of the second component

    public interface Pair<A,​B>
    A Generic pair.
    Since:
    9.12.0
    • Method Detail

      • create

        static <F,​S> Pair<F,​S> create​(F first,
                                                  S second)
      • getFirst

        A getFirst()
        Get the first component.
        Returns:
        the first component
        Since:
        9.12.0
      • getSecond

        B getSecond()
        Get the second component.
        Returns:
        the second component
        Since:
        9.12.0