public class RegistrySimple<K,V> extends java.lang.Object implements IRegistry<K,V>
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
protected java.util.Map<K,V> |
registryObjects |
private java.lang.Object[] |
values |
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) |
private static final org.apache.logging.log4j.Logger LOGGER
private java.lang.Object[] values