Package com.cryptomorin.xseries.base
Class XRegistry<XForm extends XModule<XForm,BukkitForm>,BukkitForm>
java.lang.Object
com.cryptomorin.xseries.base.XRegistry<XForm,BukkitForm>
- All Implemented Interfaces:
Iterable<XForm>
-
Constructor Summary
ConstructorsConstructorDescriptionXRegistry(Class<BukkitForm> bukkitFormClass, Class<XForm> xFormClass, Supplier<Object> registrySupplier, BiFunction<BukkitForm, String[], XForm> creator, Function<Integer, XForm[]> createArray) -
Method Summary
Modifier and TypeMethodDescriptionprotected BukkitFormgetByBukkitForm(BukkitForm bukkit) static String@Unmodifiable Collection<XForm> iterator()mapping()std(Function<BukkitForm, XForm> xForm, String[] names) XForm[]values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
XRegistry
public XRegistry(Class<BukkitForm> bukkitFormClass, Class<XForm> xFormClass, Supplier<Object> registrySupplier, BiFunction<BukkitForm, String[], XForm> creator, Function<Integer, XForm[]> createArray)
-
-
Method Details