Package com.sk89q.worldedit.registry
Class NamespacedRegistry<V extends Keyed>
java.lang.Object
com.sk89q.worldedit.registry.Registry<V>
com.sk89q.worldedit.registry.NamespacedRegistry<V>
- All Implemented Interfaces:
Iterable<V>
-
Constructor Summary
ConstructorDescriptionNamespacedRegistry
(String name) NamespacedRegistry
(String name, String defaultNamespace) -
Method Summary
Methods inherited from class com.sk89q.worldedit.registry.Registry
getName, iterator, keySet, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NamespacedRegistry
-
NamespacedRegistry
-
-
Method Details
-
get
-
register
-
getKnownNamespaces
Get a set of the namespaces of all registered keys.- Returns:
- set of namespaces
-
getDefaultNamespace
Get the default namespace for this registry.- Returns:
- the default namespace
-