|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.util.DefaultEnvironmentFactory<K,V>
public class DefaultEnvironmentFactory<K,V>
This is the default environment factory; it creates DefaultEnvironments.
Constructor Summary | |
---|---|
DefaultEnvironmentFactory(MapFactory<K,V> mapFactory)
Creates a new DefaultEnvironmentFactory. |
|
DefaultEnvironmentFactory(MapFactory<K,V> mapFactory,
boolean allowsMultipleChildNames)
Creates a new DefaultEnvironmentFactory. |
Method Summary | |
---|---|
Environment<K,V> |
create()
Creates a new and empty environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEnvironmentFactory(MapFactory<K,V> mapFactory) throws java.lang.NullPointerException
mapFactory
- The map factory to use to create new internal maps. Must not be null.
java.lang.NullPointerException
- If mapfactory is null.public DefaultEnvironmentFactory(MapFactory<K,V> mapFactory, boolean allowsMultipleChildNames) throws java.lang.NullPointerException
mapFactory
- The map factory to use to create new internal maps. Must not be null.allowsMultipleChildNames
- The flag will be passed to the environments on creation.
java.lang.NullPointerException
- If mapfactory is null.Method Detail |
---|
public Environment<K,V> create()
create
in interface EnvironmentFactory<K,V>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |