Class Triple<S,​T,​U>

  • Direct Known Subclasses:
    JUnitReportWriter.TestCounts

    public class Triple<S,​T,​U>
    extends java.lang.Object
    Represents a Triple of values. Used to return multiple values and other similar uses.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Pair<S,​Pair<T,​U>> delegate  
    • Constructor Summary

      Constructors 
      Constructor Description
      Triple​(S first, T second, U third)  
    • Field Detail

      • delegate

        private final Pair<S,​Pair<T,​U>> delegate
    • Constructor Detail

      • Triple

        public Triple​(S first,
                      T second,
                      U third)
    • Method Detail

      • first

        public S first()
      • second

        public T second()
      • third

        public U third()
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object