Class VerboseTextBuilderImpl

    • Constructor Detail

      • VerboseTextBuilderImpl

        public VerboseTextBuilderImpl​()
    • Method Detail

      • getElements

        public Object[] getElements​()
        Gets the elements for the elements property.
        Specified by:
        getElements in interface VerboseTextBuilder
        Returns:
        The elements being stored by the elements property.
      • setElements

        public void setElements​(Object[] aElements)
        Sets the elements for the elements property.
        Specified by:
        setElements in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be stored by the elements property.
      • setElements

        public void setElements​(Map<?,?> aElements)
        Sets the elements.
        Specified by:
        setElements in interface VerboseTextBuilder
        Parameters:
        aElements - the elements
      • toString

        public String toString​(Byte[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Short[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Long[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Float[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Double[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(String[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Object[] aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toString

        public String toString​(Map<?,?> aElements)
        The String being build by the builder upon the settings of the attributes and the provided argument. This method is to be side effect free in terms of the elements (and the verbose result) are not part of the state for this instance (from the point of view of this method). Still changing for example the elements via VerboseTextBuilder.withElements(Collection) can cause side effects! For avoiding thread race conditions / side effects regarding the elements text (and the verbose result), use this method instead of the combination of VerboseTextBuilder.withElements(Collection) with VerboseTextBuilder.toString().
        Specified by:
        toString in interface VerboseTextBuilder
        Parameters:
        aElements - The elements to be transformed to a human readable String,
        Returns:
        The according resulting String
      • toVerboseString

        protected static String toVerboseString​(Character aCollectionHead,
                                                Collection<?> aCollection,
                                                Character aCollectionTail)
        To verbose string.
        Parameters:
        aCollectionHead - The head sequence for the collection.
        aCollection - the collection
        aCollectionTail - The tail sequence for the collection.
        Returns:
        the string
      • toVerboseString

        protected static String toVerboseString​(Character aCollectionHead,
                                                Map<?,?> aMap,
                                                Character aCollectionTail)
        To verbose string.
        Parameters:
        aCollectionHead - The head sequence for the collection.
        aMap - the map
        aCollectionTail - The tail sequence for the collection.
        Returns:
        the string