Package org.eclipse.imagen.media.range
Class RangeDouble
This class is a subclass of the
Range class handling double data.-
Nested Class Summary
Nested classes/interfaces inherited from class Range
Range.DataType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double value) Method for checking if a double value is contained inside the RangeReturns the Range data TypegetMax()Returns the maximum bound of the RangegetMax(boolean isMaxIncluded) Returns the maximum bound of the Range or the nearest one if not includedgetMin()Returns the minimum bound of the RangegetMin(boolean isMinIncluded) Returns the minimum bound of the Range or the nearest one if not includedintersection(Range other) booleanisNaN()Returns true if and only if the current Range is a point representing NaNbooleanReturns true if the current Range accepts NaN valuesbooleanisPoint()Indicates if the Range is a degenerated single point Range or not
-
Field Details
-
FULL_RANGE
-
-
Method Details
-
contains
public boolean contains(double value) Description copied from class:RangeMethod for checking if a double value is contained inside the Range -
getDataType
Description copied from class:RangeReturns the Range data Type- Specified by:
getDataTypein classRange
-
isPoint
public boolean isPoint()Description copied from class:RangeIndicates if the Range is a degenerated single point Range or not -
getMax
Description copied from class:RangeReturns the maximum bound of the Range -
getMin
Description copied from class:RangeReturns the minimum bound of the Range -
getMax
Description copied from class:RangeReturns the maximum bound of the Range or the nearest one if not included -
getMin
Description copied from class:RangeReturns the minimum bound of the Range or the nearest one if not included -
isNanIncluded
public boolean isNanIncluded()Description copied from class:RangeReturns true if the current Range accepts NaN values- Overrides:
isNanIncludedin classRange
-
isNaN
public boolean isNaN()Description copied from class:RangeReturns true if and only if the current Range is a point representing NaN -
union
-
intersection
- Specified by:
intersectionin classRange
-