- Type Parameters:
K- key type
V- value type
public final class MultiRegistry<K,V> extends ObjectA registry which allows multiple values for a particular key. One of those is considered the best and returned as the representative. When selecting the candidate, we evaluate the order of insertion, picking the value inserted first, but then we look at all the other candidates and if there is one which is a subclass of the first one, we select that one.
This class is thread-safe.
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
register(K key, V value)