public class RegistryNamespaced extends RegistrySimple implements IObjectIntIterable
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
field_148758_b |
protected ObjectIntIdentityMap |
underlyingIntegerMap |
registryObjects
Constructor and Description |
---|
RegistryNamespaced() |
Modifier and Type | Method and Description |
---|---|
void |
addObject(int p_148756_1_,
java.lang.String p_148756_2_,
java.lang.Object p_148756_3_) |
boolean |
containsId(int p_148753_1_) |
boolean |
containsKey(java.lang.Object p_148741_1_) |
boolean |
containsKey(java.lang.String p_148741_1_) |
protected java.util.Map |
createUnderlyingMap() |
protected static java.lang.String |
ensureNamespaced(java.lang.String p_148755_0_) |
int |
getIDForObject(java.lang.Object p_148757_1_) |
java.lang.String |
getNameForObject(java.lang.Object p_148750_1_) |
java.lang.Object |
getObject(java.lang.Object p_82594_1_) |
java.lang.Object |
getObject(java.lang.String p_82594_1_) |
java.lang.Object |
getObjectById(int p_148754_1_) |
java.util.Iterator |
iterator() |
getKeys, putObject
protected ObjectIntIdentityMap underlyingIntegerMap
protected final java.util.Map field_148758_b
public void addObject(int p_148756_1_, java.lang.String p_148756_2_, java.lang.Object p_148756_3_)
protected java.util.Map createUnderlyingMap()
createUnderlyingMap
in class RegistrySimple
public java.lang.Object getObject(java.lang.String p_82594_1_)
public java.lang.String getNameForObject(java.lang.Object p_148750_1_)
public boolean containsKey(java.lang.String p_148741_1_)
public int getIDForObject(java.lang.Object p_148757_1_)
public java.lang.Object getObjectById(int p_148754_1_)
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
public boolean containsId(int p_148753_1_)
protected static java.lang.String ensureNamespaced(java.lang.String p_148755_0_)
public boolean containsKey(java.lang.Object p_148741_1_)
containsKey
in class RegistrySimple
public java.lang.Object getObject(java.lang.Object p_82594_1_)
getObject
in interface IRegistry
getObject
in class RegistrySimple