Package ball.util
Class Converter
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<Class<?>,Factory<?>>
-
- ball.util.Converter
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Class<?>,Factory<?>>
,NavigableMap<Class<?>,Factory<?>>
,SortedMap<Class<?>,Factory<?>>
public class Converter extends TreeMap<Class<?>,Factory<?>>
Conversion utility based onFactory
.- Author:
- Allen D. Ball
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
convertTo(Object from, Class<?> type)
Static method to convert the argument to the specified type (Class
).-
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
-