org.openjena.atlas.lib
Class Slot<K,V>

java.lang.Object
  extended by org.openjena.atlas.lib.Slot<K,V>

public class Slot<K,V>
extends Object

Key-value slot, with chaining for lookup.


Constructor Summary
Slot()
          Create a slot with no key, value or parent - can be used a slot chain root
Slot(K key, V value)
           
 
Method Summary
 Slot<K,V> extend(K key, V value)
           
 V find(K k)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slot

public Slot()
Create a slot with no key, value or parent - can be used a slot chain root


Slot

public Slot(K key,
            V value)
Method Detail

extend

public Slot<K,V> extend(K key,
                        V value)

find

public final V find(K k)

toString

public String toString()
Overrides:
toString in class Object


Licenced under the Apache License, Version 2.0