|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tngtech.jgiven.format.DefaultFormatter<T>
T - public class DefaultFormatter<T>
A default formatter that merely use String.valueOf(Object),
except for arrays where Arrays.deepToString(Object[]) is used.
| Constructor Summary | |
|---|---|
DefaultFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
format(T argumentToFormat,
java.lang.String... formatterArguments)
Format a single argument by taking optional formatter arguments into account. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFormatter()
| Method Detail |
|---|
public java.lang.String format(T argumentToFormat,
java.lang.String... formatterArguments)
ArgumentFormatter
format in interface ArgumentFormatter<T>argumentToFormat - the object to formatformatterArguments - optional arguments for the formatter to control the formatting.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||