Class DiscreteFunction.Pair

java.lang.Object
nz.org.riskscape.engine.function.DiscreteFunction.Pair
Enclosing class:
DiscreteFunction

public static class DiscreteFunction.Pair extends Object

A member of the DiscreteFunction. Links a Range to an RiskscapeFunction.

  • Constructor Details

    • Pair

      public Pair(com.google.common.collect.Range<Double> range, nz.org.riskscape.engine.function.RiskscapeFunction function)
  • Method Details

    • getRange

      public com.google.common.collect.Range<Double> getRange()
    • getFunction

      public nz.org.riskscape.engine.function.RiskscapeFunction getFunction()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object