public static final class Description.NullDescription extends Object implements Description
Description.NullDescription
NONE
Constructor and Description |
---|
Description.NullDescription() |
Modifier and Type | Method and Description |
---|---|
Description |
appendDescriptionOf(SelfDescribing value)
Appends the description of a
SelfDescribing value to this description. |
Description |
appendList(String start,
String separator,
String end,
Iterable<? extends SelfDescribing> values)
Appends a list of
SelfDescribing objects
to the description. |
Description |
appendText(String text)
Appends some plain text to the description.
|
Description |
appendValue(Object value)
Appends an arbitary value to the description.
|
<T> Description |
appendValueList(String start,
String separator,
String end,
Iterable<T> values)
Appends a list of values to the description.
|
<T> Description |
appendValueList(String start,
String separator,
String end,
T... values)
Appends a list of values to the description.
|
String |
toString() |
public Description appendDescriptionOf(SelfDescribing value)
Description
SelfDescribing
value to this description.appendDescriptionOf
in interface Description
public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)
Description
SelfDescribing
objects
to the description.appendList
in interface Description
public Description appendText(String text)
Description
appendText
in interface Description
public Description appendValue(Object value)
Description
appendValue
in interface Description
public <T> Description appendValueList(String start, String separator, String end, T... values)
Description
appendValueList
in interface Description
public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values)
Description
appendValueList
in interface Description
Copyright © 2016. All rights reserved.