Class RangeDouble

Object
Range
RangeDouble

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

  • Method Details

    • contains

      public boolean contains(double value)
      Description copied from class: Range
      Method for checking if a double 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 Double getMax()
      Description copied from class: Range
      Returns the maximum bound of the Range
      Specified by:
      getMax in class Range
    • getMin

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

      public Double 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 Double 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
    • isNanIncluded

      public boolean isNanIncluded()
      Description copied from class: Range
      Returns true if the current Range accepts NaN values
      Overrides:
      isNanIncluded in class Range
    • isNaN

      public boolean isNaN()
      Description copied from class: Range
      Returns true if and only if the current Range is a point representing NaN
      Overrides:
      isNaN in class Range
    • union

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

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