VerboseTextBuilder
public class VerboseTextBuilderImpl extends Object implements VerboseTextBuilder
Constructor | Description |
---|---|
VerboseTextBuilderImpl() |
Modifier and Type | Method | Description |
---|---|---|
Object[] |
getElements() |
Gets the elements for the elements property.
|
void |
setElements(Object[] aElements) |
Sets the elements for the elements property.
|
void |
setElements(Collection<?> aElements) |
Sets the elements.
|
void |
setElements(Map<?,?> aElements) |
Sets the elements.
|
String |
toString() |
The
String being build by the builder upon the settings of the
attributes. |
String |
toString(Boolean[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Byte[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Character[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Double[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Float[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Integer[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Long[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Object aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Object[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Short[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(String[] aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Collection<?> aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
String |
toString(Map<?,?> aElements) |
The
String being build by the builder upon the settings of the
attributes and the provided argument. |
protected static String |
toVerboseString(Collection<?> aCollection) |
To verbose string.
|
protected static String |
toVerboseString(Map<?,?> aMap) |
To verbose string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, setElements, toString, toString, toString, toString, toString, toString, toString, toString, withElements, withElements, withElements, withElements, withElements, withElements, withElements, withElements, withElements, withElements, withElements, withElements
public Object[] getElements()
getElements
in interface VerboseTextBuilder
public void setElements(Object[] aElements)
setElements
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.public void setElements(Collection<?> aElements)
setElements
in interface VerboseTextBuilder
aElements
- the new elementspublic void setElements(Map<?,?> aElements)
setElements
in interface VerboseTextBuilder
aElements
- the elementspublic String toString()
String
being build by the builder upon the settings of the
attributes.toString
in interface VerboseTextBuilder
toString
in class Object
String
public String toString(Boolean[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Byte[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Short[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Integer[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Long[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Float[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Double[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Character[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(String[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Object[] aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Collection<?> aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Map<?,?> aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
public String toString(Object aElements)
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()
.toString
in interface VerboseTextBuilder
aElements
- The elements to be stored by the elements property.String
protected static String toVerboseString(Collection<?> aCollection)
aCollection
- the collectionCopyright © 2018. All rights reserved.