public interface ObjectRegistry<K,V>
A unsynchronized registry to keep track of singleton instances similar to what
java.lang.Enum provides. registry
should therefore only be used inside of singleton constructors.
Modifier and Type | Method and Description |
---|---|
scala.Option<V> |
getForKey(K key) |
scala.Option<V> |
getForKeyCaseInsensitive(java.lang.String key,
scala.$less$colon$less<java.lang.String,K> conv) |
java.lang.Object |
register(K key,
V obj) |