Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ToStringUtils

    Helper methods to ease implementing ToString().

    Inheritance
    object
    ToStringUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public static class ToStringUtils

    Methods

    Boost(float)

    For printing boost only if not 1.0.

    Declaration
    public static string Boost(float boost)
    Parameters
    Type Name Description
    float boost
    Returns
    Type Description
    string

    ByteArray(StringBuilder, byte[])

    Helper methods to ease implementing ToString().

    Declaration
    public static void ByteArray(StringBuilder buffer, byte[] bytes)
    Parameters
    Type Name Description
    StringBuilder buffer
    byte[] bytes

    Int64Hex(long)

    NOTE: This was longHex() in Lucene

    Declaration
    public static string Int64Hex(long x)
    Parameters
    Type Name Description
    long x
    Returns
    Type Description
    string
    Back to top Copyright © 2024 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.