Map that takes a Class for keys, and the get method finds the closest matching class.
Creates a new instance of ClassMap
return the object or null for this string "RED" -> Color.RED