Package org.eclipse.imagen.media.range
Class RangeUshort
This class is a subclass of the
Range class handling unsigned short data.-
Nested Class Summary
Nested classes/interfaces inherited from class Range
Range.DataType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(short value) Method for checking if a short/ushort 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) booleanisPoint()Indicates if the Range is a degenerated single point Range or notMethods inherited from class Range
compare, contains, contains, contains, contains, contains, contains, containsN, equals, hash, hash, hash, hashCode, intersects, isMaxIncluded, isMinIncluded, isNaN, isNanIncluded, toString
-
Field Details
-
FULL_RANGE
-
-
Method Details
-
contains
public boolean contains(short value) Description copied from class:RangeMethod for checking if a short/ushort 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 -
union
-
intersection
- Specified by:
intersectionin classRange
-