Matcher#describeTo(Description)
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Description | NONE
A description that consumes input but does nothing. |
| Modifier and Type | Method and Description |
|---|---|
| public Description | appendDescriptionOf(SelfDescribing value)
Appends the description of a |
| public Description | appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)
Appends a list of |
| public Description | |
| public Description | |
| public <T> Description | appendValueList(String start, String separator, String end, T... values)
Appends a list of values to the description. |
| public <T> Description | appendValueList(String start, String separator, String end, Iterable<T> values)
Appends a list of values to the description. |
| NONE | back to summary |
|---|---|
| public static final Description NONE A description that consumes input but does nothing. | |
| appendDescriptionOf | back to summary |
|---|---|
| public Description appendDescriptionOf(SelfDescribing value) Appends the description of a | |
| appendList | back to summary |
|---|---|
| public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Appends a list of | |
| appendText | back to summary |
|---|---|
| public Description appendText(String text) Appends some plain text to the description. | |
| appendValue | back to summary |
|---|---|
| public Description appendValue(Object value) Appends an arbitary value to the description. | |
| appendValueList | back to summary |
|---|---|
| public <T> Description appendValueList(String start, String separator, String end, T... values) Appends a list of values to the description. | |
| appendValueList | back to summary |
|---|---|
| public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) Appends a list of values to the description. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Description | appendDescriptionOf(SelfDescribing value)
Implements org. SelfDescribing value to this description.
|
| public Description | appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)
Implements org. org. objects
to the description.
|
| public Description | appendText(String text)
Implements org. |
| public Description | appendValue(Object value)
Implements org. |
| public <T> Description | appendValueList(String start, String separator, String end, T... values)
Implements org. |
| public <T> Description | appendValueList(String start, String separator, String end, Iterable<T> values)
Implements org. |
| public String |
| NullDescription | back to summary |
|---|---|
| public NullDescription() | |
| appendDescriptionOf | back to summary |
|---|---|
| public Description appendDescriptionOf(SelfDescribing value) Implements org. Doc from org. Appends the description of a
| |
| appendList | back to summary |
|---|---|
| public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Implements org. Doc from org. Appends a list of
| |
| appendText | back to summary |
|---|---|
| public Description appendText(String text) Implements org. Doc from org. Appends some plain text to the description.
| |
| appendValue | back to summary |
|---|---|
| public Description appendValue(Object value) Implements org. Doc from org. Appends an arbitary value to the description.
| |
| appendValueList | back to summary |
|---|---|
| public <T> Description appendValueList(String start, String separator, String end, T... values) Implements org. Doc from org. Appends a list of values to the description.
| |
| appendValueList | back to summary |
|---|---|
| public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) Implements org. Doc from org. Appends a list of values to the description.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |