Class SimpleJavaRegistry<T>
java.lang.Object
org.geysermc.geyser.session.cache.registry.SimpleJavaRegistry<T>
- All Implemented Interfaces:
Iterable<RegistryEntryData<T>>,JavaRegistry<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.objects.ObjectArrayList<RegistryEntryData<T>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentries()All entries of this registry, as a list.voidforEach(Consumer<? super RegistryEntryData<T>> action) @NonNull Iterator<RegistryEntryData<T>> iterator()voidreset(List<RegistryEntryData<T>> entries) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.geyser.session.cache.registry.JavaRegistry
byId, byKey, byValue, entryById, entryByKey, entryByValue, keys, size, values
-
Field Details
-
entries
-
-
Constructor Details
-
SimpleJavaRegistry
public SimpleJavaRegistry()
-
-
Method Details
-
reset
-
iterator
-
forEach
-
spliterator
- Specified by:
spliteratorin interfaceIterable<T>
-
entries
Description copied from interface:JavaRegistryAll entries of this registry, as a list.- Specified by:
entriesin interfaceJavaRegistry<T>
-
toString
-