Class FieldCache.Doubles
Field values as 64-bit doubles
Inheritance
System.Object
FieldCache.Doubles
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)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class Doubles
Constructors
| Improve this Doc View SourceDoubles()
Initialize an instance of FieldCache.Doubles.
Declaration
protected Doubles()
Doubles(Func<Int32, Double>)
Initialize an instance of FieldCache.Doubles with the specified
get
delegate method.
Declaration
public Doubles(Func<int, double> get)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Int32, System.Double> | get | A System.Func<T, TResult> that implements the Get(Int32) method body. |
Fields
| Improve this Doc View SourceEMPTY
Zero value for every document
Declaration
public static readonly FieldCache.Doubles EMPTY
Field Value
Type | Description |
---|---|
FieldCache.Doubles |
Methods
| Improve this Doc View SourceGet(Int32)
Return a System.Double representation of this field's value.
Declaration
public virtual double Get(int docID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID |
Returns
Type | Description |
---|---|
System.Double |