T
- The type for which to return a specific character representation.public abstract static class CharacterRepresentationProvider.TypeSpecific<T> extends Object implements CharacterRepresentationProvider
Object.toString()
for other types.CharacterRepresentationProvider.BooleanArrayToString, CharacterRepresentationProvider.ByteArrayToString, CharacterRepresentationProvider.CharArrayToString, CharacterRepresentationProvider.DoubleArrayToString, CharacterRepresentationProvider.FloatArrayToString, CharacterRepresentationProvider.Identity, CharacterRepresentationProvider.IntArrayToString, CharacterRepresentationProvider.LongArrayToString, CharacterRepresentationProvider.ObjectArrayDeepToString, CharacterRepresentationProvider.ObjectArrayToString, CharacterRepresentationProvider.ShortArrayToString, CharacterRepresentationProvider.ToString, CharacterRepresentationProvider.TypeSpecific<T>
Modifier | Constructor and Description |
---|---|
protected |
TypeSpecific(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
protected abstract CharSequence |
convert(T value) |
CharSequence |
toCharSequence(Object value)
Returns a character representation for a value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultInstance
protected abstract CharSequence convert(T value)
public CharSequence toCharSequence(Object value)
CharacterRepresentationProvider
toCharSequence
in interface CharacterRepresentationProvider
value
- The value to return the character representation for.CharSequence
containing the value's character representation.Copyright © 2020. All rights reserved.