Package org.skriptlang.skript.util
Interface Registry<T>
- Type Parameters:
T
- The type of elements stored in a registry.
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
SyntaxRegistry
A registry maintains a collection of elements.
It is up to individual implementations as to how they may be modified.
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
elements
Collection<T> elements()- Returns:
- A collection of all elements in this registry.
-
iterator
By default, this is a wrapper forelements().iterator()
.
-