Class TripletImpl<X,​Y,​Z>

    • Constructor Summary

      Constructors 
      Constructor Description
      TripletImpl​(java.lang.Object... elements)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Z getThird()
      Get the third element from the tuple.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.jongsoft.lang.collection.tuple.Tuple

        toList
    • Constructor Detail

      • TripletImpl

        public TripletImpl​(java.lang.Object... elements)
    • Method Detail

      • getThird

        public Z getThird()
        Description copied from interface: Triplet
        Get the third element from the tuple.
        Specified by:
        getThird in interface Triplet<X,​Y,​Z>
        Returns:
        the element
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class PairImpl<X,​Y>