public class ToStringConverter<T> extends Object implements StringConverter<T>
toString()
method to convert a T object to a String.Constructor and Description |
---|
ToStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(T toConvert)
Converts the supplied T object to a String.
|
public String convert(T toConvert)
convert
in interface StringConverter<T>
toConvert
- The T object to convert to a string. Not null
.Copyright © 2005–2024 MojoHaus. All rights reserved.