public class NoneStringifier<T> extends Object implements Stringifier<T>
Modifier and Type | Method and Description |
---|---|
static <T> Stringifier<T> |
checkInstance(Stringifier<T> stringifier)
Check whether stringifier is the NoneStringifier
|
static <T> NoneStringifier<T> |
getInstance()
Get unique instance of the NoneStringifier
|
String |
toString(T value)
Converts/formats a value into string.
|
public String toString(T value)
Stringifier
toString
in interface Stringifier<T>
value
- Input valuepublic static <T> NoneStringifier<T> getInstance()
public static <T> Stringifier<T> checkInstance(Stringifier<T> stringifier)
stringifier
- Stringifier to compare with NoneStringifierCopyright © 2019. All rights reserved.