Class IntRange

java.lang.Object
frc.team_8840_lib.utils.math.IntRange

public class IntRange extends Object
  • Constructor Details

    • IntRange

      public IntRange(int min, int max)
  • Method Details

    • getMin

      public int getMin()
    • getMax

      public int getMax()
    • inRange

      public boolean inRange(int n)
    • clamp

      public int clamp(int n)
    • clamp

      public double clamp(double n)
    • clamp

      public float clamp(float n)
    • clamp

      public long clamp(long n)