unbbayes.util
Class TwoLevelMap<P,K,V>

java.lang.Object
  extended by unbbayes.util.TwoLevelMap<P,K,V>

public class TwoLevelMap<P,K,V>
extends Object

Author:
Paulo F. Duarte

Constructor Summary
TwoLevelMap()
           
 
Method Summary
 void clear()
           
 Object get(String mainKey, String subKey)
           
 ArrayList<P> getMainKeys()
           
 ArrayList<K> getSubKeys(String mainKey)
           
 Object put(P mainKey, K subKey, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoLevelMap

public TwoLevelMap()
Method Detail

put

public Object put(P mainKey,
                  K subKey,
                  V value)

get

public Object get(String mainKey,
                  String subKey)

getMainKeys

public ArrayList<P> getMainKeys()

getSubKeys

public ArrayList<K> getSubKeys(String mainKey)

clear

public void clear()


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.