Class ToStringUtils


  • public final class ToStringUtils
    extends java.lang.Object
    Helper methods to ease implementing Object.toString().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String boost​(float boost)
      for printing boost only if not 1.0
      static void byteArray​(java.lang.StringBuilder buffer, byte[] bytes)  
      static java.lang.String longHex​(long x)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • boost

        public static java.lang.String boost​(float boost)
        for printing boost only if not 1.0
      • byteArray

        public static void byteArray​(java.lang.StringBuilder buffer,
                                     byte[] bytes)
      • longHex

        public static java.lang.String longHex​(long x)