Class ByteRange

java.lang.Object
net.minestom.server.utils.math.Range<Byte>
net.minestom.server.utils.math.ByteRange

public class ByteRange extends Range<Byte>
  • Constructor Details

    • ByteRange

      public ByteRange(Byte minimum, Byte maximum)
    • ByteRange

      public ByteRange(Byte value)
  • Method Details

    • isInRange

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