Class IndexMap<K,V>

java.lang.Object
org.aksw.sparqlify.database.IndexMap<K,V>

public class IndexMap<K,V> extends Object
  • Constructor Details

    • IndexMap

      public IndexMap()
  • Method Details

    • setIndex

      public void setIndex(int index, K key)
    • put

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

      public Integer getIndex(K key)
    • get

      public V get(int index)
    • getKey

      public K getKey(int index)
    • get

      public V get(K key)
    • clear

      public void clear()
    • keySet

      public Set<K> keySet()
      TODO Do not modify this view, it won't update the structures
      Returns:
    • containsAllKeys

      public boolean containsAllKeys(Collection<K> keys)
    • size

      public int size()