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. |
boost |
Returns
Type | Description |
---|---|
System. |
ByteArray(StringBuilder, Byte[])
Declaration
public static void ByteArray(StringBuilder buffer, byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
String |
buffer | |
System. |
bytes |
Int64Hex(Int64)
NOTE: This was longHex() in Lucene
Declaration
public static string Int64Hex(long x)
Parameters
Type | Name | Description |
---|---|---|
System. |
x |
Returns
Type | Description |
---|---|
System. |