Class LongRange

java.lang.Object
net.minestom.server.utils.math.Range<Long>
net.minestom.server.utils.math.LongRange

public class LongRange extends Range<Long>
  • Constructor Details

    • LongRange

      public LongRange(Long minimum, Long maximum)
    • LongRange

      public LongRange(Long value)
  • Method Details

    • isInRange

      public boolean isInRange(Long value)
      Whether the given value is in range of the minimum and the maximum.
      Specified by:
      isInRange in class Range<Long>
      Parameters:
      value - The value to be checked.
      Returns:
      true if the value in the range of minimum and maximum, otherwise false.