public class GenericRegistry<T extends Named> extends AbstractInitializable implements Registry<String,T>
inited
GenericRegistry()
GenericRegistry(Map<String,T> registry)
T
get(String name)
List<T>
instances()
List<String>
names()
void
register(String key, T t)
register(T t)
doInit, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public GenericRegistry()
public GenericRegistry(Map<String,T> registry)
public void register(T t)
register
Registry<String,T extends Named>
public void register(String key, T t)
public T get(String name)
get
Factory<String,T extends Named>
Supplier<String,T extends Named>
public List<String> names()
public List<T> instances()
Copyright © 2022. All rights reserved.