Package org.hamcrest
Class Description.NullDescription
- java.lang.Object
- org.hamcrest.Description.NullDescription
- All Implemented Interfaces:
Description
- Enclosing interface:
- Description
public static final class Description.NullDescription extends Object implements Description
Nested Class Summary
Nested classes/interfaces inherited from interface org.hamcrest.Description
Description.NullDescription
Field Summary
Fields inherited from interface org.hamcrest.Description
NONE
Constructor Summary
Constructors Constructor Description NullDescription()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptionappendDescriptionOf(SelfDescribing value)Appends the description of aSelfDescribingvalue to this description.DescriptionappendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)Appends a list ofSelfDescribingobjects to the description.DescriptionappendText(String text)Appends some plain text to the description.DescriptionappendValue(Object value)Appends an arbitary 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.StringtoString()
Constructor Detail
NullDescription
public NullDescription()
Method Detail
appendDescriptionOf
public Description appendDescriptionOf(SelfDescribing value)
Description copied from interface:DescriptionAppends the description of aSelfDescribingvalue to this description.- Specified by:
appendDescriptionOfin interfaceDescription
appendList
public 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 interfaceDescription
appendText
public Description appendText(String text)
Description copied from interface:DescriptionAppends some plain text to the description.- Specified by:
appendTextin interfaceDescription
appendValue
public Description appendValue(Object value)
Description copied from interface:DescriptionAppends an arbitary value to the description.- Specified by:
appendValuein interfaceDescription
appendValueList
public <T> Description appendValueList(String start, String separator, String end, T... values)
Description copied from interface:DescriptionAppends a list of values to the description.- Specified by:
appendValueListin interfaceDescription
appendValueList
public <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 interfaceDescription