tip.util
Class DefaultStringifier<T>
java.lang.Object
tip.util.DefaultStringifier<T>
- Type Parameters:
T
- the type for which the stringifier applies
- All Implemented Interfaces:
- Stringifier<T>
public class DefaultStringifier<T>
- extends Object
- implements Stringifier<T>
DefaultStringifier
implements the Stringifier
by calling the
Object.toString()
method.
- Author:
- Johnni Winther, jw@brics.dk
DefaultStringifier
public DefaultStringifier()
toString
public String toString(T t)
- Returns a textual representation of
t
.
- Specified by:
toString
in interface Stringifier<T>
- Parameters:
t
- the object for which a textual representation is returned
- Returns:
- a textual representation of
t