Class Range


  • public final class Range
    extends AbstractFilter
    Filter as a range of values from..to.
    • Constructor Detail

      • Range

        public Range​(Object valueFrom,
                     Object valueTo)
    • Method Detail

      • getValueFrom

        public Object getValueFrom()
        Returns a from value.
        Returns:
      • getValueTo

        public Object getValueTo()
        Returns a to value.
        Returns:
      • setValues

        public void setValues​(Object valueFrom,
                              Object valueTo)
        Sets from and to values.
        Parameters:
        valueFrom - beginning of the range (inclusive)
        valueTo - end of the range (inclusive)
      • filterEquals

        public boolean filterEquals​(AbstractFilter f)
        Description copied from class: AbstractFilter
        Compares this filter to an other one.
        Specified by:
        filterEquals in class AbstractFilter
        Parameters:
        f - other filter
        Returns:
        true if filter equal otherwise - false