Package com.inet.viewer
Class Range
- java.lang.Object
-
- com.inet.viewer.Range
-
- All Implemented Interfaces:
java.io.Serializable
@JsonData public class Range extends java.lang.Object implements java.io.Serializable
A Range is an immutable range of values between two limit values. The two limit values can be included in the range, but do not have to be. The value types of the objects set should be:
String for STRING
Double for NUMBER and CURRENCY
Boolean for BOOLEAN
Date for DATE and DATETIME
Time for TIME
byte[] for BINARY- Since:
- 7.8
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Range(java.lang.Object lower, java.lang.Object upper, boolean includeLower, boolean includeUpper)
Creates a new range with the given lower and upper limits The value types of the objects set should be:
String for STRING
Double for NUMBER and CURRENCY
Boolean for BOOLEAN
Date for DATE and DATETIME
Time for TIME
byte[] for BINARY
-
-
-
Constructor Detail
-
Range
public Range(java.lang.Object lower, java.lang.Object upper, boolean includeLower, boolean includeUpper)
Creates a new range with the given lower and upper limits The value types of the objects set should be:
String for STRING
Double for NUMBER and CURRENCY
Boolean for BOOLEAN
Date for DATE and DATETIME
Time for TIME
byte[] for BINARY- Parameters:
lower
- lower limit of the rangeupper
- upper limit of the rangeincludeLower
- whether to include the lower limit in the rangeincludeUpper
- whether to include the upper limit in the range- Since:
- 7.8
-
-