Class ToStringBuilder

  • public class ToStringBuilder
    extends java.lang.Object
    Helps with toString() methods.
    • Method Summary

      Modifier and Type Method Description
      ToStringBuilder add​(java.lang.String name, java.lang.Object value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ToStringBuilder

        public ToStringBuilder​(java.lang.String name)
      • ToStringBuilder

        public ToStringBuilder​(java.lang.Class type)
    • Method Detail

      • add

        public ToStringBuilder add​(java.lang.String name,
                                   java.lang.Object value)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object