Class StringRepresentation

    • Field Detail

      • representation

        protected final java.lang.String representation
        The textual representation.
    • Constructor Detail

      • StringRepresentation

        public StringRepresentation​(java.lang.String representation)
        Builds a new representation containing the given string.
        Parameters:
        representation - the string
      • StringRepresentation

        public StringRepresentation​(java.lang.Object obj)
        Builds a new representation starting from the given object. String.valueOf(Object) is used to extract its string representation.
        Parameters:
        obj - the object