程序包 org.hamcrest
类 Description.NullDescription
- java.lang.Object
- org.hamcrest.Description.NullDescription
- 所有已实现的接口:
Description
- 封闭接口:
- Description
public static final class Description.NullDescription extends Object implements Description
嵌套类概要
从接口继承的嵌套类/接口 org.hamcrest.Description
Description.NullDescription
字段概要
从接口继承的字段 org.hamcrest.Description
NONE
构造器概要
构造器 构造器 说明 NullDescription()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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()
构造器详细资料
NullDescription
public NullDescription()
方法详细资料
appendDescriptionOf
public Description appendDescriptionOf(SelfDescribing value)
从接口复制的说明:DescriptionAppends the description of aSelfDescribingvalue to this description.- 指定者:
appendDescriptionOf在接口中Description
appendList
public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)
从接口复制的说明:DescriptionAppends a list ofSelfDescribingobjects to the description.- 指定者:
appendList在接口中Description
appendText
public Description appendText(String text)
从接口复制的说明:DescriptionAppends some plain text to the description.- 指定者:
appendText在接口中Description
appendValue
public Description appendValue(Object value)
从接口复制的说明:DescriptionAppends an arbitary value to the description.- 指定者:
appendValue在接口中Description
appendValueList
public <T> Description appendValueList(String start, String separator, String end, T... values)
从接口复制的说明:DescriptionAppends a list of values to the description.- 指定者:
appendValueList在接口中Description
appendValueList
public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values)
从接口复制的说明:DescriptionAppends a list of values to the description.- 指定者:
appendValueList在接口中Description