org.sakaiproject.util
Class ComponentMap

java.lang.Object
  extended byorg.sakaiproject.util.ComponentMap
All Implemented Interfaces:
Map

public class ComponentMap
extends Object
implements Map

ComponentMap exposes the registered components as a map - the component id is mapped to the component implementation.

Version:
$Revision: 632 $
Author:
University of Michigan, Sakai Software Development Team

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
ComponentMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object arg0)
           
 boolean containsValue(Object arg0)
           
 Set entrySet()
           
 Object get(Object arg0)
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object arg0, Object arg1)
           
 void putAll(Map arg0)
           
 Object remove(Object arg0)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ComponentMap

public ComponentMap()
Method Detail

size

public int size()
Specified by:
size in interface Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map

containsKey

public boolean containsKey(Object arg0)
Specified by:
containsKey in interface Map

containsValue

public boolean containsValue(Object arg0)
Specified by:
containsValue in interface Map

get

public Object get(Object arg0)
Specified by:
get in interface Map

put

public Object put(Object arg0,
                  Object arg1)
Specified by:
put in interface Map

remove

public Object remove(Object arg0)
Specified by:
remove in interface Map

putAll

public void putAll(Map arg0)
Specified by:
putAll in interface Map

clear

public void clear()
Specified by:
clear in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map

values

public Collection values()
Specified by:
values in interface Map

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map