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 SourceBoost(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 |
ByteArray(StringBuilder, Byte[])
Declaration
public static void ByteArray(StringBuilder buffer, byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | buffer | |
System.Byte[] | bytes |
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 |