Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ToStringUtils

    Helper methods to ease implementing System.Object.ToString().

    Inheritance
    System.Object
    ToStringUtils
    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.Util
    Assembly: Lucene.Net.dll
    Syntax
    public static class ToStringUtils

    Methods

    | Improve this Doc View Source

    Boost(Single)

    For printing boost only if not 1.0.

    Declaration
    public static string Boost(float boost)
    Parameters
    Type Name Description
    System.Single boost
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ByteArray(StringBuilder, Byte[])

    Declaration
    public static void ByteArray(StringBuilder buffer, byte[] bytes)
    Parameters
    Type Name Description
    System.Text.StringBuilder buffer
    System.Byte[] bytes
    | Improve this Doc View Source

    Int64Hex(Int64)

    NOTE: This was longHex() in Lucene

    Declaration
    public static string Int64Hex(long x)
    Parameters
    Type Name Description
    System.Int64 x
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.