Class ToStringStyle.NoFieldNameToStringStyle

java.lang.Object
org.apache.commons.lang3.builder.ToStringStyle
org.apache.commons.lang3.builder.ToStringStyle.NoFieldNameToStringStyle
All Implemented Interfaces:
Serializable
Enclosing class:
ToStringStyle

private static final class ToStringStyle.NoFieldNameToStringStyle extends ToStringStyle

ToStringStyle that does not print out the field names.

This is an inner class rather than using StandardToStringStyle to ensure its immutability.

  • Field Details

  • Constructor Details

    • NoFieldNameToStringStyle

      NoFieldNameToStringStyle()

      Constructor.

      Use the static constant rather than instantiating.

  • Method Details

    • readResolve

      private Object readResolve()

      Ensure Singleton after serialization.

      Returns:
      the singleton