Class DoubleRange
Represents a range over double values.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Facet.Range
Assembly: Lucene.Net.Facet.dll
Syntax
public sealed class DoubleRange : RangeConstructors
| Improve this Doc View SourceDoubleRange(String, Double, Boolean, Double, Boolean)
Create a DoubleRange.
Declaration
public DoubleRange(string label, double minIn, bool minInclusive, double maxIn, bool maxInclusive)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | label | |
| System.Double | minIn | |
| System.Boolean | minInclusive | |
| System.Double | maxIn | |
| System.Boolean | maxInclusive | 
Properties
| Improve this Doc View SourceMax
Maximum.
Declaration
public double Max { get; }Property Value
| Type | Description | 
|---|---|
| System.Double | 
MaxInclusive
True if the maximum value is inclusive.
Declaration
public bool MaxInclusive { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Min
Minimum.
Declaration
public double Min { get; }Property Value
| Type | Description | 
|---|---|
| System.Double | 
MinInclusive
True if the minimum value is inclusive.
Declaration
public bool MinInclusive { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
| Improve this Doc View SourceAccept(Double)
True if this range accepts the provided value.
Declaration
public bool Accept(double value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | value | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
GetFilter(Filter, ValueSource)
Declaration
public override Filter GetFilter(Filter fastMatchFilter, ValueSource valueSource)Parameters
| Type | Name | Description | 
|---|---|---|
| Filter | fastMatchFilter | |
| ValueSource | valueSource | 
Returns
| Type | Description | 
|---|---|
| Filter | 
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()