Class UnionMap<K,​V>

  • All Implemented Interfaces:
    Map<K,​V>

    public final class UnionMap<K,​V>
    extends AbstractMap<K,​V>
    An immutable view over two maps, with keys resolving from the first map first, or otherwise the second if not present in the first.