Package org.hamcrest
Class Description.NullDescription
java.lang.Object
org.hamcrest.Description.NullDescription
- All Implemented Interfaces:
- Description
- Enclosing interface:
- Description
A description that consumes input but does nothing.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.hamcrest.DescriptionDescription.NullDescription
- 
Field SummaryFields inherited from interface org.hamcrest.DescriptionNONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAppends the description of aSelfDescribingvalue to this description.appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Appends a list ofSelfDescribingobjects to the description.appendText(String text) Appends some plain text to the description.appendValue(Object value) Appends an arbitrary value to the description.<T> DescriptionappendValueList(String start, String separator, String end, Iterable<T> values) Appends a list of values to the description.<T> DescriptionappendValueList(String start, String separator, String end, T... values) Appends a list of values to the description.toString()
- 
Constructor Details- 
NullDescriptionpublic NullDescription()Constructor.
 
- 
- 
Method Details- 
appendDescriptionOfDescription copied from interface:DescriptionAppends the description of aSelfDescribingvalue to this description.- Specified by:
- appendDescriptionOfin interface- Description
- Parameters:
- value- the value to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
appendListpublic Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Description copied from interface:DescriptionAppends a list ofSelfDescribingobjects to the description.- Specified by:
- appendListin interface- Description
- Parameters:
- start- the prefix.
- separator- the separator.
- end- the suffix.
- values- the values to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
appendTextDescription copied from interface:DescriptionAppends some plain text to the description.- Specified by:
- appendTextin interface- Description
- Parameters:
- text- the text to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
appendValueDescription copied from interface:DescriptionAppends an arbitrary value to the description.- Specified by:
- appendValuein interface- Description
- Parameters:
- value- the object to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
appendValueListDescription copied from interface:DescriptionAppends a list of values to the description.- Specified by:
- appendValueListin interface- Description
- Type Parameters:
- T- the description type.
- Parameters:
- start- the prefix.
- separator- the separator.
- end- the suffix.
- values- the values to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
appendValueListpublic <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) Description copied from interface:DescriptionAppends a list of values to the description.- Specified by:
- appendValueListin interface- Description
- Type Parameters:
- T- the description type.
- Parameters:
- start- the prefix.
- separator- the separator.
- end- the suffix.
- values- the values to append.
- Returns:
- the update description when displaying the matcher error.
 
- 
toString
 
-