Show / Hide Table of Contents

    Class ToStringUtils

    Helper methods to ease implementing .

    Inheritance
    System.Object
    ToStringUtils
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class ToStringUtils : object

    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
    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 © 2020 Licensed to the Apache Software Foundation (ASF)