org.apache.lucene.util
Class ToStringUtils

java.lang.Object
  extended by org.apache.lucene.util.ToStringUtils

public final class ToStringUtils
extends Object

Helper methods to ease implementing Object.toString().


Method Summary
static String boost(float boost)
          for printing boost only if not 1.0
static void byteArray(StringBuilder buffer, byte[] bytes)
           
static String longHex(long x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.