Class Map2<K,V>

java.lang.Object
org.apache.jena.atlas.lib.Map2<K,V>
All Implemented Interfaces:
Iterable<K>

public class Map2<K,V> extends Object implements Iterable<K>
A map with parent sharing. New entries go into a map but lookup is passed to the parent map if nothing is found at this level.
  • Constructor Details

  • Method Details

    • containsKey

      public boolean containsKey(K key)
    • get

      public V get(K key)
    • put

      public void put(K key, V value)
    • iterator

      public Iterator<K> iterator()
      Specified by:
      iterator in interface Iterable<K>
    • isEmpty

      public boolean isEmpty()
    • size

      public int size()