Class Range

java.lang.Object
com.inet.viewer.Range
All Implemented Interfaces:
Serializable

@JsonData public class Range extends Object implements 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Range(Object lower, 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
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Range

      public Range(Object lower, 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 range
      upper - upper limit of the range
      includeLower - whether to include the lower limit in the range
      includeUpper - whether to include the upper limit in the range
      Since:
      7.8