org.apache.lucene.facet.range
Class DoubleRange

java.lang.Object
  extended by org.apache.lucene.facet.range.Range
      extended by org.apache.lucene.facet.range.DoubleRange

public final class DoubleRange
extends Range

Represents a range over double values indexed as DoubleDocValuesField.


Field Summary
 double max
           
 boolean maxInclusive
           
 double min
           
 boolean minInclusive
           
 
Fields inherited from class org.apache.lucene.facet.range.Range
label
 
Constructor Summary
DoubleRange(String label, double min, boolean minInclusive, double max, boolean maxInclusive)
          Create a DoubleRange.
 
Method Summary
 boolean accept(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public final double min

max

public final double max

minInclusive

public final boolean minInclusive

maxInclusive

public final boolean maxInclusive
Constructor Detail

DoubleRange

public DoubleRange(String label,
                   double min,
                   boolean minInclusive,
                   double max,
                   boolean maxInclusive)
Create a DoubleRange.

Method Detail

accept

public boolean accept(long value)
Specified by:
accept in class Range


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.