public Range()

in harry-core/src/harry/util/Ranges.java [85:99]


        public Range(long minBound, long maxBound, boolean minInclusive, boolean maxInclusive, long timestamp)
        {
            // (minBound < maxBound) ||
            assert ((minBound != maxBound) || (minInclusive && maxInclusive)) :
            String.format("Min bound should be less than max bound, or both bounds have to be inclusive, but was: %s%d,%d%s",
                          minInclusive ? "[" : "(",
                          minBound, maxBound,
                          maxInclusive ? "]" : ")");
            this.minBound = minBound;
            this.maxBound = maxBound;
            this.minInclusive = minInclusive;
            this.maxInclusive = maxInclusive;

            this.timestamp = timestamp;
        }