Package net.orbyfied.j8.registry
Interface RegistryService<R extends Registry<T>,T extends Identifiable>
- Type Parameters:
R- The registry type.T- The registry item type.
- All Known Subinterfaces:
FunctionalService<R,,T> MappingService<K,R, T>
- All Known Implementing Classes:
AbstractRegistryService
public interface RegistryService<R extends Registry<T>,T extends Identifiable>
A service to add to a registry.
By default it doesn't specify any
functionality.
-
Method Summary
Modifier and TypeMethodDescriptionGet the registry this service has been applied to.
-
Method Details
-
getRegistry
R getRegistry()Get the registry this service has been applied to.- Returns:
- The registry.
-