java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.rangemaps.DoubleRange

public class DoubleRange extends Object
  • Field Details

    • min

      private double min
    • max

      private double max
    • inclusiveMin

      private boolean inclusiveMin
    • inclusiveMax

      private boolean inclusiveMax
  • Constructor Details

    • DoubleRange

      public DoubleRange(double min, boolean inclusiveMin, double max, boolean inclusiveMax)
  • Method Details

    • getMin

      public double getMin()
    • isInclusiveMin

      public boolean isInclusiveMin()
    • getMax

      public double getMax()
    • isInclusiveMax

      public boolean isInclusiveMax()
    • includes

      public boolean includes(double v)
    • inclusive

      @Nonnull public static DoubleRange inclusive(double min, double max)
    • exclusive

      @Nonnull public static DoubleRange exclusive(double min, double max)