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 java.lang.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)
           
 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.