Get the total number of ID=>T
mappings in this map.
Iterate through the [ID, T]
pairs of this map
Remove all data from this IDMap
.
Remove id
from this map
whether id
was in the map
Get the value of id
from the map, if it exists.
Test if the map has a value for id
.
Add a mapping from id=>value
.
This will use the default namespace if not specified,
i.e IDMap::set(new ID("stone"), ...)
and IDMap::set(new ID("minecraft:stone"), ...)
are equivalent and indistinguishable.
Generated using TypeDoc
A mapping from
ID
toT
.Internally, this is stored as a
Map<(namespace) string, Map<(path)string, T>>