## org.das2.util.ClassMap

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

## ClassMap( )

Creates a new instance of ClassMap

## clear

clear( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## containsKey

containsKey( Object key ) → boolean

### Parameters

key - an Object

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## containsValue

containsValue( Object value ) → boolean

### Parameters

value - an Object

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## entrySet

entrySet( ) → java.util.Set

### Returns:

java.util.Set
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## get

get( Object key ) → Object

### Parameters

key - an Object

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [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 on old javadoc] [view source]

## isEmpty

isEmpty( ) → boolean

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## keySet

keySet( ) → java.util.Set

### Returns:

java.util.Set
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## put

put( java.lang.Class key, Object value ) → Object

### Parameters

key - a java.lang.Class
value - an Object

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## putAll

putAll( java.util.Map t ) → void

### Parameters

t - a java.util.Map

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## remove

remove( Object key ) → Object

### Parameters

key - an Object

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## size

size( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## values

values( ) → java.util.Collection

### Returns:

java.util.Collection
[search for examples] [view on GitHub] [view on old javadoc] [view source]