/** * Greater Than Equals * * @param min must not be {@literal null}. * @return this. */ public Range gte(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, true); return this; }
/** * Less Then Equals * * @param max must not be {@literal null}. * @return this. */ public Range lte(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, true); return this; }
/** * Less Than * * @param max must not be {@literal null}. * @return this. */ public Range lt(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, false); return this; }
static Boundary infinite() { return new Boundary(null, true); }
/** * Greater Than Equals * * @param min must not be {@literal null}. * @return this. */ public Range gte(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, true); return this; }
static Boundary infinite() { return new Boundary(null, true); }
/** * Less Then Equals * * @param max must not be {@literal null}. * @return this. */ public Range lte(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, true); return this; }
/** * Less Than * * @param max must not be {@literal null}. * @return this. */ public Range lt(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, false); return this; }
/** * Greater Than * * @param min must not be {@literal null}. * @return this. */ public Range gt(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, false); return this; }
/** * Less Than * * @param max must not be {@literal null}. * @return this. */ public Range lt(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, false); return this; }
/** * Greater Than * * @param min must not be {@literal null}. * @return this. */ public Range gt(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, false); return this; }
/** * Greater Than Equals * * @param min must not be {@literal null}. * @return this. */ public Range gte(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, true); return this; }
/** * Less Then Equals * * @param max must not be {@literal null}. * @return this. */ public Range lte(Object max) { Assert.notNull(max, "Max already set for range."); this.max = new Boundary(max, true); return this; }
static Boundary infinite() { return new Boundary(null, true); }
/** * Greater Than * * @param min must not be {@literal null}. * @return this. */ public Range gt(Object min) { Assert.notNull(min, "Min already set for range."); this.min = new Boundary(min, false); return this; }