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 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 |
---|---|---|
System.Text.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 |