Class Range<T>

  • Direct Known Subclasses:
    DateRangeQuery.DateRange

    public class Range<T>
    extends Object
    Represent a set of data needed to perform a Lucene range queries.
    • Constructor Detail

      • Range

        public Range​(T from,
                     T to,
                     boolean includeFrom,
                     boolean includeTo)
    • Method Detail

      • range

        public static <R> Range<R> range​(R from,
                                         R to,
                                         boolean includeFrom,
                                         boolean includeTo)
      • getFrom

        public T getFrom()
      • getTo

        public T getTo()
      • isIncludeFrom

        public boolean isIncludeFrom()
      • isIncludeTo

        public boolean isIncludeTo()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object