org.das2.util.ClassMap

Map that takes a Class for keys, and the get method finds the closest matching class.


containsKey

containsKey( Object key ) → boolean

Returns:

boolean

search for examples view on GitHub view source


containsValue

containsValue( Object value ) → boolean

Returns:

boolean

search for examples view on GitHub view source


entrySet

entrySet( ) → Set

Returns:

java.util.Set

search for examples view on GitHub view source


getEnumElement

getEnumElement( java.lang.Class c, String ele ) → Object

return the object or null for this string "RED" -> Color.RED

Parameters

c - the class defining the target type
ele - the string representation to be interpreted for this type.

Returns:

the instance of the type.

search for examples view on GitHub view source


isEmpty

isEmpty( ) → boolean

Returns:

boolean

search for examples view on GitHub view source


keySet

keySet( ) → Set

Returns:

java.util.Set

search for examples view on GitHub view source


putAll

putAll( java.util.Map t ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source