Package org.nuxeo.runtime.model.impl
Class ComponentRegistry.MappedSet
- java.lang.Object
-
- org.nuxeo.runtime.model.impl.ComponentRegistry.MappedSet
-
- Enclosing class:
- ComponentRegistry
protected static class ComponentRegistry.MappedSet extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<ComponentName,Set<ComponentName>>
map
-
Constructor Summary
Constructors Constructor Description MappedSet()
MappedSet(ComponentRegistry.MappedSet mset)
Create a clone of a mapped set (set values are cloned too)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Set<ComponentName>
get(ComponentName name)
boolean
isEmpty()
Set<ComponentName>
put(ComponentName key, ComponentName value)
Set<ComponentName>
remove(ComponentName key)
Set<ComponentName>
remove(ComponentName key, ComponentName value)
int
size()
-
-
-
Field Detail
-
map
protected Map<ComponentName,Set<ComponentName>> map
-
-
Constructor Detail
-
MappedSet
public MappedSet()
-
MappedSet
public MappedSet(ComponentRegistry.MappedSet mset)
Create a clone of a mapped set (set values are cloned too)
-
-
Method Detail
-
get
public Set<ComponentName> get(ComponentName name)
-
put
public Set<ComponentName> put(ComponentName key, ComponentName value)
-
remove
public Set<ComponentName> remove(ComponentName key)
-
remove
public Set<ComponentName> remove(ComponentName key, ComponentName value)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
clear
public void clear()
-
-