public class RegistrySimple<K,V> extends java.lang.Object implements IRegistry<K,V>
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<K,V> |
registryObjects |
Constructor and Description |
---|
RegistrySimple() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K key) |
protected java.util.Map<K,V> |
createUnderlyingMap() |
java.util.Set<K> |
getKeys() |
V |
getObject(K name) |
V |
getRandomObject(java.util.Random random) |
java.util.Iterator<V> |
iterator() |
void |
putObject(K key,
V value) |