Class FloatPair

java.lang.Object
ch.nolix.base.datastructure.pair.FloatPair

public final class FloatPair extends Object
A FloatPair is not mutable.
Author:
Silvan Wyss
  • Field Details

  • Method Details

    • withValues

      public static FloatPair withValues(double value1, double value2)
      Parameters:
      value1 -
      value2 -
      Returns:
      a new FloatPair with the given values.
    • equals

      public boolean equals(Object object)
      }
      Overrides:
      equals in class Object
    • getValue1

      public double getValue1()
      Returns:
      value 1 of the current FloatPair.
    • getValue2

      public double getValue2()
      Returns:
      value 2 of the current FloatPair.
    • hashCode

      public int hashCode()
      }
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      }
      Overrides:
      toString in class Object