Class SimpleJavaRegistry<T>
java.lang.Object
org.geysermc.geyser.session.cache.registry.SimpleJavaRegistry<T>
- All Implemented Interfaces:
JavaRegistry<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
values
-
-
Constructor Details
-
SimpleJavaRegistry
public SimpleJavaRegistry()
-
-
Method Details
-
byId
Description copied from interface:JavaRegistryLooks up a registry entry by its ID. The object can be null, or not present.- Specified by:
byIdin interfaceJavaRegistry<T>
-
byValue
Description copied from interface:JavaRegistryReverse looks-up an object to return its network ID, or -1.- Specified by:
byValuein interfaceJavaRegistry<T>
-
reset
Description copied from interface:JavaRegistryResets the objects by these IDs.- Specified by:
resetin interfaceJavaRegistry<T>
-
values
Description copied from interface:JavaRegistryAll values of this registry, as a list.- Specified by:
valuesin interfaceJavaRegistry<T>
-