Class ConcreteMutableScope
- java.lang.Object
-
- org.soulwing.prospecto.runtime.scope.ConcreteMutableScope
-
- All Implemented Interfaces:
MutableScope
,Scope
public class ConcreteMutableScope extends Object implements MutableScope
A simpleMutableScope
.- Author:
- Carl Harris
-
-
Constructor Summary
Constructors Constructor Description ConcreteMutableScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
get(Class<T> type)
<T> T
get(String name, Class<T> type)
void
put(Object obj)
Object
put(String name, Object obj)
void
putAll(Iterable<?> objs)
void
putAll(Map<String,?> objs)
void
putAll(ConcreteMutableScope scope)
boolean
remove(Object obj)
-
-
-
Method Detail
-
put
public void put(Object obj)
- Specified by:
put
in interfaceMutableScope
-
put
public Object put(String name, Object obj)
- Specified by:
put
in interfaceMutableScope
-
putAll
public void putAll(Iterable<?> objs)
- Specified by:
putAll
in interfaceMutableScope
-
putAll
public void putAll(Map<String,?> objs)
- Specified by:
putAll
in interfaceMutableScope
-
remove
public boolean remove(Object obj)
- Specified by:
remove
in interfaceMutableScope
-
putAll
public void putAll(ConcreteMutableScope scope)
-
-