|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hamcrest.BaseDescription
org.hamcrest.StringDescription
public class StringDescription
A Description that is stored as a string.
| Constructor Summary | |
|---|---|
StringDescription()
|
|
StringDescription(java.lang.Appendable out)
|
|
| Method Summary | |
|---|---|
protected void |
append(char c)
Append the char c to the description. |
protected void |
append(java.lang.String str)
Append the String str to the description. |
static java.lang.String |
asString(SelfDescribing selfDescribing)
Alias for toString(SelfDescribing). |
java.lang.String |
toString()
Returns the description as a string. |
static java.lang.String |
toString(SelfDescribing value)
Return the description of a SelfDescribing object as a String. |
| Methods inherited from class org.hamcrest.BaseDescription |
|---|
appendDescriptionOf, appendList, appendText, appendValue, appendValueList, appendValueList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringDescription()
public StringDescription(java.lang.Appendable out)
| Method Detail |
|---|
public static java.lang.String toString(SelfDescribing value)
SelfDescribing object as a String.
selfDescribing - The object to be described.
public static java.lang.String asString(SelfDescribing selfDescribing)
toString(SelfDescribing).
protected void append(java.lang.String str)
BaseDescriptionBaseDescription.append(char).
Override in subclasses to provide an efficient implementation.
append in class BaseDescriptionprotected void append(char c)
BaseDescription
append in class BaseDescriptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||