com.hp.hpl.jena.sparql.util
Class TranslationTable<X>

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.TranslationTable<X>

public class TranslationTable<X>
extends Object

Maps string to string for use with convenience names.


Constructor Summary
TranslationTable()
          Create a translation table which respects case
TranslationTable(boolean ignoreCase)
          Create a translation table - say whether to ignore case or not
 
Method Summary
 Iterator<String> keys()
           
 X lookup(String name)
           
 void put(String k, X v)
           
 Iterator<X> values()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationTable

public TranslationTable()
Create a translation table which respects case


TranslationTable

public TranslationTable(boolean ignoreCase)
Create a translation table - say whether to ignore case or not

Method Detail

lookup

public X lookup(String name)

put

public void put(String k,
                X v)

keys

public Iterator<String> keys()

values

public Iterator<X> values()


Licenced under the Apache License, Version 2.0