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 SummaryConstructorsConstructorDescriptionNamespacedRegistry(String name) NamespacedRegistry(String name, boolean checkInitialized) NamespacedRegistry(String name, String defaultNamespace) NamespacedRegistry(String name, String defaultNamespace, boolean checkInitialized) 
- 
Method SummaryModifier and TypeMethodDescriptiongetByInternalId(int index) Get the default namespace for this registry.Get a set of the namespaces of all registered keys.getSuggestions(String input) intsize()Methods inherited from class com.sk89q.worldedit.registry.Registryclear, getMap, getName, iterator, keySet, valuesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
NamespacedRegistry
- 
NamespacedRegistry
- 
NamespacedRegistry
- 
NamespacedRegistry
 
- 
- 
Method Details- 
get
- 
register
- 
getByInternalId
- 
sizepublic int size()
- 
getKnownNamespacesGet a set of the namespaces of all registered keys.- Returns:
- set of namespaces
 
- 
getDefaultNamespaceGet the default namespace for this registry.- Returns:
- the default namespace
 
- 
getSuggestions
 
-