Package org.apache.lucene.util
Class ToStringUtils
- java.lang.Object
-
- org.apache.lucene.util.ToStringUtils
-
public final class ToStringUtils extends Object
Helper methods to ease implementingObject.toString().
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringboost(float boost)for printing boost only if not 1.0static voidbyteArray(StringBuilder buffer, byte[] bytes)static StringlongHex(long x)
-
-
-
Method Detail
-
boost
public static String boost(float boost)
for printing boost only if not 1.0
-
byteArray
public static void byteArray(StringBuilder buffer, byte[] bytes)
-
longHex
public static String longHex(long x)
-
-