Package org.fest.assertions.description
Class TextDescription
- java.lang.Object
 - 
- org.fest.assertions.description.Description
 - 
- org.fest.assertions.description.TextDescription
 
 
 
- 
- Direct Known Subclasses:
 EmptyTextDescription
public class TextDescription extends Description
A text-based description.- Author:
 - Yvonne Wang, Alex Ruiz
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TextDescription(java.lang.String value)Creates a newTextDescription. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.Stringvalue()- 
Methods inherited from class org.fest.assertions.description.Description
toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TextDescription
public TextDescription(java.lang.String value)
Creates a newTextDescription.- Parameters:
 value- the value of this description.- Throws:
 java.lang.NullPointerException- if the given value isnull.
 
 - 
 
- 
Method Detail
- 
value
public java.lang.String value()
- Specified by:
 valuein classDescription- Returns:
 - the value of this description.
 
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -