Class FieldCache.Int16s
Field values as 16-bit signed shorts
NOTE: This was Shorts in Lucene
Inheritance
System.Object
    FieldCache.Int16s
  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 Int16sConstructors
| Improve this Doc View SourceInt16s()
Initialize an instance of FieldCache.Int16s.
Declaration
protected Int16s()Int16s(Func<Int32, Int16>)
Initialize an instance of FieldCache.Int16s with the specified
get delegate method.
Declaration
public Int16s(Func<int, short> get)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Func<System.Int32, System.Int16> | 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.Int16s EMPTYField Value
| Type | Description | 
|---|---|
| FieldCache.Int16s | 
Methods
| Improve this Doc View SourceGet(Int32)
Return a System.Int16 representation of this field's value.
Declaration
public virtual short Get(int docID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | docID | 
Returns
| Type | Description | 
|---|---|
| System.Int16 |