Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Field.Number

    Inheritance
    System.Object
    Field.Number
    Field.Byte
    Field.Double
    Field.Int16
    Field.Int32
    Field.Int64
    Field.Single
    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.Documents
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    protected abstract class Number

    Methods

    | Improve this Doc View Source

    GetByteValue()

    Returns this object's value as a System.Byte. Might involve rounding and/or truncating the value, so it fits into a System.Byte.

    Declaration
    public virtual byte GetByteValue()
    Returns
    Type Description
    System.Byte

    the primitive System.Byte value of this object.

    | Improve this Doc View Source

    GetDoubleValue()

    Returns this object's value as a System.Double. Might involve rounding.

    Declaration
    public abstract double GetDoubleValue()
    Returns
    Type Description
    System.Double

    the primitive System.Double value of this object.

    | Improve this Doc View Source

    GetInt16Value()

    Returns this object's value as a System.Int16. Might involve rounding and/or truncating the value, so it fits into a System.Int16.

    Declaration
    public virtual short GetInt16Value()
    Returns
    Type Description
    System.Int16

    the primitive System.Int16 value of this object.

    | Improve this Doc View Source

    GetInt32Value()

    Returns this object's value as an System.Int32. Might involve rounding and/or truncating the value, so it fits into an System.Int32.

    Declaration
    public abstract int GetInt32Value()
    Returns
    Type Description
    System.Int32

    the primitive System.Int32 value of this object.

    | Improve this Doc View Source

    GetInt64Value()

    Returns this object's value as a System.Int64. Might involve rounding and/or truncating the value, so it fits into a System.Int64.

    Declaration
    public abstract long GetInt64Value()
    Returns
    Type Description
    System.Int64

    the primitive System.Int64 value of this object.

    | Improve this Doc View Source

    GetSingleValue()

    Returns this object's value as a System.Single. Might involve rounding.

    Declaration
    public abstract float GetSingleValue()
    Returns
    Type Description
    System.Single

    the primitive System.Single value of this object.

    | Improve this Doc View Source

    ToString()

    Declaration
    public abstract override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    ToString(IFormatProvider)

    Declaration
    public abstract string ToString(IFormatProvider provider)
    Parameters
    Type Name Description
    System.IFormatProvider provider
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(String)

    Declaration
    public abstract string ToString(string format)
    Parameters
    Type Name Description
    System.String format
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(String, IFormatProvider)

    Declaration
    public abstract string ToString(string format, IFormatProvider provider)
    Parameters
    Type Name Description
    System.String format
    System.IFormatProvider provider
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.