Package org.refcodes.textual
Interface VerboseTextBuilder
-
- All Known Implementing Classes:
VerboseTextBuilderImpl
public interface VerboseTextBuilder
TheVerboseTextBuilder
us a utility-builder for creating human readableString
objects from arrays, collections or maps (instead of solely printing out the object references of those collections). The arrays, collections or maps may be nested in any way still producing accordingly indented and parenthesized text down to the single elements in those collections whoseObject.toString()
method is invoked . This utility-builder is very useful when printing debug or error logs or inspecting such the like data structures "on the fly".
-
-
Field Summary
Fields Modifier and Type Field Description static char
DEFAULT_COLLECTION_HEAD
static char
DEFAULT_COLLECTION_TAIL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static java.lang.String
asString(boolean[] aElements)
This method represents a shortcut for the instance methodtoString(boolean[])
though with default settings.static java.lang.String
asString(byte[] aElements)
This method represents a shortcut for the instance methodtoString(byte[])
though with default settings.static java.lang.String
asString(char[] aElements)
This method represents a shortcut for the instance methodtoString(char[])
though with default settings.static java.lang.String
asString(double[] aElements)
This method represents a shortcut for the instance methodtoString(double[])
though with default settings.static java.lang.String
asString(float[] aElements)
This method represents a shortcut for the instance methodtoString(float[])
though with default settings.static java.lang.String
asString(int[] aElements)
This method represents a shortcut for the instance methodtoString(int[])
though with default settings.static java.lang.String
asString(long[] aElements)
This method represents a shortcut for the instance methodtoString(long[])
though with default settings.static java.lang.String
asString(short[] aElements)
This method represents a shortcut for the instance methodtoString(short[])
though with default settings.static java.lang.String
asString(java.lang.Boolean[] aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.static java.lang.String
asString(java.lang.Byte[] aElements)
This method represents a shortcut for the instance methodtoString(Byte[])
though with default settings.static java.lang.String
asString(java.lang.Character[] aElements)
This method represents a shortcut for the instance methodtoString(Character[])
though with default settings.static java.lang.String
asString(java.lang.Double[] aElements)
This method represents a shortcut for the instance methodtoString(Double[])
though with default settings.static java.lang.String
asString(java.lang.Float[] aElements)
This method represents a shortcut for the instance methodtoString(Float[])
though with default settings.static java.lang.String
asString(java.lang.Integer[] aElements)
This method represents a shortcut for the instance methodtoString(Integer[])
though with default settings.static java.lang.String
asString(java.lang.Long[] aElements)
This method represents a shortcut for the instance methodtoString(Long[])
though with default settings.static java.lang.String
asString(java.lang.Object aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.static java.lang.String
asString(java.lang.Object[] aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.static java.lang.String
asString(java.lang.Short[] aElements)
This method represents a shortcut for the instance methodtoString(Short[])
though with default settings.static java.lang.String
asString(java.lang.String[] aElements)
This method represents a shortcut for the instance methodtoString(String[])
though with default settings.static java.lang.String
asString(java.util.Collection<?> aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.static java.lang.String
asString(java.util.Map<?,?> aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.java.lang.Character
getCollectionHead()
gets theString
to be used for the begin of a collection.java.lang.Character
getCollectionTail()
gets theString
to be used for the begin of a collection.java.lang.Object[]
getElements()
Gets the elements for the elements property.void
setCollectionHead(java.lang.Character aHead)
Sets theString
to be used for the begin of a collection.void
setCollectionTail(java.lang.Character aTail)
Sets theString
to be used for the begin of a collection.default void
setElements(boolean[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(byte[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(char[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(double[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(float[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(int[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(long[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(short[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Boolean[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Byte[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Character[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Double[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Float[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Integer[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Long[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.Object aElements)
Sets the elements for the elements property.void
setElements(java.lang.Object[] aElements)
Sets the elements for the elements property.default void
setElements(java.lang.Short[] aElements)
Sets the CSV elements for the CSV elements property.default void
setElements(java.lang.String[] aElements)
Sets the CSV elements for the CSV elements property.void
setElements(java.util.Collection<?> aElements)
Sets the elements for the elements property.void
setElements(java.util.Map<?,?> aElements)
Sets the elements for the elements property.java.lang.String
toString()
TheString
being build by the builder upon the settings of the attributes.default java.lang.String
toString(boolean[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(byte[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(char[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(double[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(float[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(int[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(long[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default java.lang.String
toString(short[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Boolean[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Byte[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Character[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Double[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Float[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Integer[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Long[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Object aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Object[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.Short[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.lang.String[] aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.util.Collection<?> aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.java.lang.String
toString(java.util.Map<?,?> aElements)
TheString
being build by the builder upon the settings of the attributes and the provided argument.default VerboseTextBuilder
withCollectionHead(java.lang.Character aHead)
Sets theString
to be used for the begin of a collection.default VerboseTextBuilder
withCollectionTail(java.lang.Character aTail)
Sets theString
to be used for the begin of a collection.default VerboseTextBuilder
withElements(boolean[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(byte[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(char[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(double[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(float[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(int[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(long[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(short[] aElements)
Sets the CSV elements for the CSV elements property.default VerboseTextBuilder
withElements(java.lang.Object aElements)
Sets the elements for the elements property.default VerboseTextBuilder
withElements(java.lang.Object[] aElements)
Sets the elements for the elements property.default VerboseTextBuilder
withElements(java.util.Collection<?> aElements)
Sets the elements for the elements property.default VerboseTextBuilder
withElements(java.util.Map<?,?> aElements)
Sets the elements for the elements property.
-
-
-
Field Detail
-
DEFAULT_COLLECTION_HEAD
static final char DEFAULT_COLLECTION_HEAD
- See Also:
- Constant Field Values
-
DEFAULT_COLLECTION_TAIL
static final char DEFAULT_COLLECTION_TAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCollectionHead
void setCollectionHead(java.lang.Character aHead)
Sets theString
to be used for the begin of a collection.- Parameters:
aHead
- The begin of a collection.
-
withCollectionHead
default VerboseTextBuilder withCollectionHead(java.lang.Character aHead)
Sets theString
to be used for the begin of a collection.- Parameters:
aHead
- The begin of a collection.- Returns:
- This instance as of the builder pattern.
-
getCollectionHead
java.lang.Character getCollectionHead()
gets theString
to be used for the begin of a collection.- Returns:
- The begin of a collection.
-
setCollectionTail
void setCollectionTail(java.lang.Character aTail)
Sets theString
to be used for the begin of a collection.- Parameters:
aTail
- The begin of a collection.
-
withCollectionTail
default VerboseTextBuilder withCollectionTail(java.lang.Character aTail)
Sets theString
to be used for the begin of a collection.- Parameters:
aTail
- The begin of a collection.- Returns:
- This instance as of the builder pattern.
-
getCollectionTail
java.lang.Character getCollectionTail()
gets theString
to be used for the begin of a collection.- Returns:
- The begin of a collection.
-
getElements
java.lang.Object[] getElements()
Gets the elements for the elements property.- Returns:
- The elements being stored by the elements property.
-
setElements
default void setElements(boolean[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(byte[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(short[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(int[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(long[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(float[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(double[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(char[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
withElements
default VerboseTextBuilder withElements(boolean[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(byte[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(short[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(int[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(long[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(float[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(double[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
withElements
default VerboseTextBuilder withElements(char[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.- Returns:
- The builder for applying multiple build operations.
-
setElements
default void setElements(java.lang.Boolean[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Byte[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Short[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Integer[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Long[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Float[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Double[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.Character[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
default void setElements(java.lang.String[] aElements)
Sets the CSV elements for the CSV elements property.- Parameters:
aElements
- The CSV elements to be stored by the CSV elements property.
-
setElements
void setElements(java.lang.Object[] aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.
-
withElements
default VerboseTextBuilder withElements(java.lang.Object[] aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.- Returns:
- The builder for applying multiple build operations.
-
setElements
void setElements(java.util.Collection<?> aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.
-
withElements
default VerboseTextBuilder withElements(java.util.Collection<?> aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.- Returns:
- The builder for applying multiple build operations.
-
setElements
default void setElements(java.lang.Object aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.
-
withElements
default VerboseTextBuilder withElements(java.lang.Object aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.- Returns:
- The builder for applying multiple build operations.
-
setElements
void setElements(java.util.Map<?,?> aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.
-
withElements
default VerboseTextBuilder withElements(java.util.Map<?,?> aElements)
Sets the elements for the elements property.- Parameters:
aElements
- The elements to be stored by the elements property.- Returns:
- The builder for applying multiple build operations.
-
toString
java.lang.String toString()
TheString
being build by the builder upon the settings of the attributes.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(boolean[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(byte[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(short[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(int[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(long[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(float[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(double[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
default java.lang.String toString(char[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Boolean[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Byte[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Short[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Integer[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Long[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Float[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Double[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Character[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.String[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Object[] aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.util.Collection<?> aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.lang.Object aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
toString
java.lang.String toString(java.util.Map<?,?> aElements)
TheString
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 viawithElements(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 ofwithElements(Collection)
withtoString()
.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(boolean[] aElements)
This method represents a shortcut for the instance methodtoString(boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(byte[] aElements)
This method represents a shortcut for the instance methodtoString(byte[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(short[] aElements)
This method represents a shortcut for the instance methodtoString(short[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(int[] aElements)
This method represents a shortcut for the instance methodtoString(int[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(long[] aElements)
This method represents a shortcut for the instance methodtoString(long[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(float[] aElements)
This method represents a shortcut for the instance methodtoString(float[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(double[] aElements)
This method represents a shortcut for the instance methodtoString(double[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(char[] aElements)
This method represents a shortcut for the instance methodtoString(char[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Boolean[] aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Byte[] aElements)
This method represents a shortcut for the instance methodtoString(Byte[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Short[] aElements)
This method represents a shortcut for the instance methodtoString(Short[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Integer[] aElements)
This method represents a shortcut for the instance methodtoString(Integer[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Long[] aElements)
This method represents a shortcut for the instance methodtoString(Long[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Float[] aElements)
This method represents a shortcut for the instance methodtoString(Float[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Double[] aElements)
This method represents a shortcut for the instance methodtoString(Double[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Character[] aElements)
This method represents a shortcut for the instance methodtoString(Character[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.String[] aElements)
This method represents a shortcut for the instance methodtoString(String[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Object[] aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.util.Collection<?> aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.util.Map<?,?> aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
asString
static java.lang.String asString(java.lang.Object aElements)
This method represents a shortcut for the instance methodtoString(Boolean[])
though with default settings.- Parameters:
aElements
- The elements to be transformed to a human readableString
,- Returns:
- The according resulting
String
-
-