Class RangeShort

Object
Range
RangeShort

public class RangeShort extends Range
This class is a subclass of the Range class handling Short data.
  • Field Details

    • FULL_RANGE

      public static RangeShort FULL_RANGE
  • Method Details

    • contains

      public boolean contains(short value)
      Description copied from class: Range
      Method for checking if a short/ushort value is contained inside the Range
      Overrides:
      contains in class Range
    • getDataType

      public Range.DataType getDataType()
      Description copied from class: Range
      Returns the Range data Type
      Specified by:
      getDataType in class Range
    • isPoint

      public boolean isPoint()
      Description copied from class: Range
      Indicates if the Range is a degenerated single point Range or not
      Specified by:
      isPoint in class Range
    • getMax

      public Short getMax()
      Description copied from class: Range
      Returns the maximum bound of the Range
      Specified by:
      getMax in class Range
    • getMin

      public Short getMin()
      Description copied from class: Range
      Returns the minimum bound of the Range
      Specified by:
      getMin in class Range
    • getMax

      public Short getMax(boolean isMaxIncluded)
      Description copied from class: Range
      Returns the maximum bound of the Range or the nearest one if not included
      Specified by:
      getMax in class Range
    • getMin

      public Short getMin(boolean isMinIncluded)
      Description copied from class: Range
      Returns the minimum bound of the Range or the nearest one if not included
      Specified by:
      getMin in class Range
    • union

      public RangeShort union(Range other)
      Specified by:
      union in class Range
    • intersection

      public RangeShort intersection(Range other)
      Specified by:
      intersection in class Range