Package 

Class MutablePair

    • Method Summary

      Modifier and Type Method Description
      void set(T first, T second)
      boolean equals(Object o) Checks the two objects for equality by delegating to their respective equals methods.
      int hashCode() Compute a hash code using the hash codes of the underlying objects
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • set

         void set(T first, T second)
      • equals

         boolean equals(Object o)

        Checks the two objects for equality by delegating to their respective equals methods.

        Parameters:
        o - the Pair to which this one is to be checked for equality
      • hashCode

         int hashCode()

        Compute a hash code using the hash codes of the underlying objects