Documentation of 'edu.uci.jforests.util.Pair' Java class
Pair
edu.uci.jforests.util

Class Pair<A,B>



  • public class Pair<A,B>
    extends java.lang.Object
    • Field Detail

      • fst

        public A fst
      • snd

        public B snd
    • Constructor Detail

      • Pair

        public Pair(A fst,
                    B snd)
    • Method Detail

      • getFirst

        public A getFirst()
      • getSecond

        public B getSecond()
      • setFirst

        public void setFirst(A v)
      • setSecond

        public void setSecond(B v)
      • toString

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

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

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

        public static <A,B> Pair<A,B> of(A a,
                                         B b)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.