Class PairedTuple<W,​X,​Y,​Z>

  • Type Parameters:
    W - Point 1 Key
    X - Point 1 Value
    Y - Point 2 Key
    Z - Point 2 Value
    All Implemented Interfaces:
    java.io.Serializable

    public class PairedTuple<W,​X,​Y,​Z>
    extends java.lang.Object
    implements java.io.Serializable
    Implementation of a pair of tuples in a single object
    See Also:
    Serialized Form
    • Constructor Detail

      • PairedTuple

        public PairedTuple​(W key1,
                           X value1,
                           Y key2,
                           Z value2)
    • Method Detail

      • getPoint1

        public Tuple<W,​X> getPoint1()
      • getPoint2

        public Tuple<Y,​Z> getPoint2()
      • toString

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