@Deprecated public class CachedStringifier<T> extends Object implements StringifierIF<T>, CachedIF
Modifier and Type | Field and Description |
---|---|
protected Map<T,String> |
cache
Deprecated.
|
protected StringifierIF<? super T> |
stringifier
Deprecated.
|
Constructor and Description |
---|
CachedStringifier(StringifierIF<? super T> stringifier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
StringifierIF<? super T> |
getStringifier()
Deprecated.
Gets the stringifier that is to be cached.
|
void |
refresh()
Deprecated.
Refreshes the cache.
|
void |
setStringifier(StringifierIF<? super T> stringifier)
Deprecated.
Sets the stringifier that is to be cached.
|
String |
toString(T object)
Deprecated.
Returns a stringified version of the object, i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
protected StringifierIF<? super T> stringifier
public CachedStringifier(StringifierIF<? super T> stringifier)
public StringifierIF<? super T> getStringifier()
public void setStringifier(StringifierIF<? super T> stringifier)
public String toString(T object)
StringifierIF
toString
in interface StringifierIF<T>
object
- the object that is to be made a string
representation of.object
argument.