Class DoubleParam

java.lang.Object
frc.spectrumLib.params.Param<Double>
frc.spectrumLib.params.DoubleParam
All Implemented Interfaces:
DoubleSupplier

public final class DoubleParam extends Param<Double> implements DoubleSupplier
A finite number, with inclusive bounds.
  • Method Details

    • getAsDouble

      public double getAsDouble()
      Specified by:
      getAsDouble in interface DoubleSupplier
    • type

      public Param.Type type()
      Specified by:
      type in class Param<Double>
    • min

      public double min()
      Description copied from class: Param
      Lower bound, or NaN when the type has none.
      Overrides:
      min in class Param<Double>
    • max

      public double max()
      Description copied from class: Param
      Upper bound, or NaN when the type has none.
      Overrides:
      max in class Param<Double>