Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractRegistryService<R extends Registry<T>,
T extends Identifiable> - Class in net.orbyfied.j8.registry -
Abstract implementation of a registry service, with a constructor supplying it with a registry.
- AbstractRegistryService(R) - Constructor for class net.orbyfied.j8.registry.AbstractRegistryService
- addComponent(Class<? extends RegistryComponent<Registry<T>, T, ?, ?>>) - Method in class net.orbyfied.j8.registry.Registry
- addComponent(Class<M>, Consumer<M>) - Method in class net.orbyfied.j8.registry.Registry
- addComponent(Function<Registry<T>, RegistryComponent<Registry<T>, T, ?, ?>>) - Method in class net.orbyfied.j8.registry.Registry
- addComponent(RegistryComponent<Registry<T>, T, ?, ?>) - Method in class net.orbyfied.j8.registry.Registry
- addService(Class<? extends RegistryService<Registry<T>, T>>) - Method in class net.orbyfied.j8.registry.Registry
- addService(Class<M>, Consumer<M>) - Method in class net.orbyfied.j8.registry.Registry
- addService(Function<Registry<T>, RegistryService<Registry<T>, T>>) - Method in class net.orbyfied.j8.registry.Registry
- addService(RegistryService<Registry<T>, T>) - Method in class net.orbyfied.j8.registry.Registry
- all() - Element in annotation interface net.orbyfied.j8.registry.AutoRegister
-
If it should be treated as an all-auto registrable collection class/instance.
- allow() - Element in annotation interface net.orbyfied.j8.registry.AutoRegister
-
If it should be auto registered.
- allStatic() - Element in annotation interface net.orbyfied.j8.registry.AutoRegister
-
If it should ignore the instance when registering all.
- AutoRegister - Annotation Interface in net.orbyfied.j8.registry
- autoRegisterFrom(Class<?>, Object...) - Method in class net.orbyfied.j8.registry.Registry
-
Registers all registrable items which allow it across the static fields and instance fields which are retrieved for every instance.
C
- clone() - Method in class net.orbyfied.j8.registry.Identifier
E
- entry(T) - Method in class net.orbyfied.j8.registry.Registry
- equals(Object) - Method in class net.orbyfied.j8.registry.Identifier
- equals(Object) - Method in class net.orbyfied.j8.registry.Registry
F
- FunctionalService<R extends Registry<T>,
T extends Identifiable> - Interface in net.orbyfied.j8.registry -
A service which can add basic functionality to a registry.
G
- getByIdentifier(String) - Method in class net.orbyfied.j8.registry.Registry
-
Gets an item by identifier.
- getByIdentifier(Identifier) - Method in class net.orbyfied.j8.registry.Registry
-
Gets an item by identifier.
- getByIndex(int) - Method in class net.orbyfied.j8.registry.Registry
-
Gets an item by index.
- getByKey(K) - Method in interface net.orbyfied.j8.registry.MappingService
- getComponent(int) - Method in class net.orbyfied.j8.registry.Registry
- getComponent(Class<M>) - Method in class net.orbyfied.j8.registry.Registry
- getComponentsLinear() - Method in class net.orbyfied.j8.registry.Registry
- getComponentsMapped() - Method in class net.orbyfied.j8.registry.Registry
- getComponentsSize() - Method in class net.orbyfied.j8.registry.Registry
- getIdentifier() - Method in interface net.orbyfied.j8.registry.Identifiable
-
Gets the unique identifier of this registered/registrable item.
- getIdentifier() - Method in class net.orbyfied.j8.registry.Registry
- getKeyFactory() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Returns the item to key factory.
- getKeyFromValue(V) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Utilizes the value to key factory to get the key from the provided value.
- getKeyFromValueFactory() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Returns the value to key factory.
- getKeyOf(T) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Utilizes the item to key factory to get the key of the provided item.
- getKeyType() - Method in interface net.orbyfied.j8.registry.MappingService
- getKeyType() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the runtime key type of the storage.
- getLinear(int) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the value at the given index.
- getMapped(K) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the value mapped to the given key.
- getMapped(T) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the value corresponding with the given item.
- getMessage() - Method in exception net.orbyfied.j8.registry.MalformedIdentifierException
- getNamespace() - Method in class net.orbyfied.j8.registry.Identifier
- getPath() - Method in class net.orbyfied.j8.registry.Identifier
- getRegistry() - Method in class net.orbyfied.j8.registry.AbstractRegistryService
- getRegistry() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the registry this component has been assigned to.
- getRegistry() - Method in interface net.orbyfied.j8.registry.RegistryService
-
Get the registry this service has been applied to.
- getService(int) - Method in class net.orbyfied.j8.registry.Registry
- getService(Class<M>) - Method in class net.orbyfied.j8.registry.Registry
- getServicesLinear() - Method in class net.orbyfied.j8.registry.Registry
- getServicesMapped() - Method in class net.orbyfied.j8.registry.Registry
- getServicesOf(Class<S>) - Method in class net.orbyfied.j8.registry.Registry
- getServicesOf(Class<S>, ArrayList<S>) - Method in class net.orbyfied.j8.registry.Registry
- getServicesSize() - Method in class net.orbyfied.j8.registry.Registry
- getValue(K) - Method in class net.orbyfied.j8.registry.Registry
- getValueFactory() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Returns the item to value factory.
- getValueOf(T) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Utilizes the item to value factory to get the value of the provided item.
- getValueType() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets the runtime value type of the storage.
H
- has(Identifier) - Method in class net.orbyfied.j8.registry.Registry
- has(T) - Method in class net.orbyfied.j8.registry.Registry
- hashCode() - Method in class net.orbyfied.j8.registry.Identifier
- hashCode() - Method in class net.orbyfied.j8.registry.Registry
I
- Identifiable - Interface in net.orbyfied.j8.registry
-
Indicates an item which can be registered in an
Registry. - Identifier - Class in net.orbyfied.j8.registry
-
Namespaced unique identifier.
- Identifier(String, String) - Constructor for class net.orbyfied.j8.registry.Identifier
- input - Variable in exception net.orbyfied.j8.registry.MalformedIdentifierException
- isLinear() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets if the storage is linear, so if it is stored in an ordered list.
- isMapped() - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Gets if the storage is mapped, so if it is stored in a quick lookup map.
- iterator() - Method in class net.orbyfied.j8.registry.Registry
K
- keyFactory - Variable in class net.orbyfied.j8.registry.RegistryComponent
L
M
- MalformedIdentifierException - Exception in net.orbyfied.j8.registry
- MalformedIdentifierException(String, Class<? extends Identifier>) - Constructor for exception net.orbyfied.j8.registry.MalformedIdentifierException
- MalformedIdentifierException(String, Class<? extends Identifier>, Exception) - Constructor for exception net.orbyfied.j8.registry.MalformedIdentifierException
- MalformedIdentifierException(String, Class<? extends Identifier>, String) - Constructor for exception net.orbyfied.j8.registry.MalformedIdentifierException
- MalformedIdentifierException(String, Class<? extends Identifier>, String, Exception) - Constructor for exception net.orbyfied.j8.registry.MalformedIdentifierException
- mapped() - Method in class net.orbyfied.j8.registry.Registry
- MappingService<K,
R extends Registry<T>, T extends Identifiable> - Interface in net.orbyfied.j8.registry -
A service which should map a specific key type to a registry item.
N
- namespace - Variable in class net.orbyfied.j8.registry.Identifier
- net.orbyfied.j8.registry - package net.orbyfied.j8.registry
O
- of(String) - Static method in class net.orbyfied.j8.registry.Identifier
-
Parses a string following
namespace:pathinto an identifier.
P
- parse(String, Identifier) - Static method in class net.orbyfied.j8.registry.Identifier
-
Parses a string following
namespace:pathinto the provided identifier. - path - Variable in class net.orbyfied.j8.registry.Identifier
- provideKeys(Accumulator<Identifier>) - Method in class net.orbyfied.j8.registry.Registry
- provideValues(Accumulator<T>) - Method in class net.orbyfied.j8.registry.Registry
R
- register(Registry) - Method in interface net.orbyfied.j8.registry.Identifiable
-
Registers this object to the registry.
- register(T) - Method in class net.orbyfied.j8.registry.Registry
-
Registers a new item to the registry.
- register(T) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Utilizes the value factory in the default implementation.
- register(V) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Registers a value to the storage.
- registered(T) - Method in interface net.orbyfied.j8.registry.FunctionalService
- registry - Variable in class net.orbyfied.j8.registry.AbstractRegistryService
-
The registry this service has been applied to.
- registry - Variable in class net.orbyfied.j8.registry.RegistryComponent
-
The registry this module is applied to.
- Registry<T extends Identifiable> - Class in net.orbyfied.j8.registry
-
Class for mapped and linear storage of uniquely identified items using an
Identifier. - Registry(String, Class<?>) - Constructor for class net.orbyfied.j8.registry.Registry
-
Base constructor.
- Registry(Identifier, Class<?>) - Constructor for class net.orbyfied.j8.registry.Registry
-
Base constructor.
- RegistryComponent<R extends Registry<T>,
T extends Identifiable, K, V> - Class in net.orbyfied.j8.registry -
An extension to a registry.
- RegistryComponent(R) - Constructor for class net.orbyfied.j8.registry.RegistryComponent
-
Constructor.
- RegistryService<R extends Registry<T>,
T extends Identifiable> - Interface in net.orbyfied.j8.registry -
A service to add to a registry.
- removeComponent(Class<? extends RegistryComponent<Registry<T>, T, ?, ?>>) - Method in class net.orbyfied.j8.registry.Registry
- removeComponent(RegistryComponent<Registry<T>, T, ?, ?>) - Method in class net.orbyfied.j8.registry.Registry
- removeService(Class<? extends RegistryService<Registry<T>, T>>) - Method in class net.orbyfied.j8.registry.Registry
- removeService(RegistryService<Registry<T>, T>) - Method in class net.orbyfied.j8.registry.Registry
S
T
- toString() - Method in class net.orbyfied.j8.registry.Identifier
- toString() - Method in class net.orbyfied.j8.registry.Registry
- type - Variable in exception net.orbyfied.j8.registry.MalformedIdentifierException
U
- unregister(String) - Method in class net.orbyfied.j8.registry.Registry
-
Unregisters an item from the registry.
- unregister(K) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Unregisters a key from the storage.
- unregister(Identifier) - Method in class net.orbyfied.j8.registry.Registry
-
Unregisters an item from the registry.
- unregister(T) - Method in class net.orbyfied.j8.registry.Registry
-
Unregisters an item from the registry.
- unregister(T) - Method in class net.orbyfied.j8.registry.RegistryComponent
-
Utilizes the key factory in the default implementation.
- unregistered(T) - Method in interface net.orbyfied.j8.registry.FunctionalService
V
- valFactory - Variable in class net.orbyfied.j8.registry.RegistryComponent
- valKeyFactory - Variable in class net.orbyfied.j8.registry.RegistryComponent
All Classes and Interfaces|All Packages|Serialized Form