BioLegato 0.7.3 Core API

org.biolegato.core.main
Class OrderedHash<K,V>

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<K,V>
          extended by org.biolegato.core.main.OrderedHash<K,V>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<K,V>
Direct Known Subclasses:
TabWidget

public class OrderedHash<K,V>
extends java.util.Hashtable<K,V>

Author:
alvare
See Also:
Serialized Form

Nested Class Summary
 class OrderedHash.EnumeratingItterator<T>
           
 class OrderedHash.MapEntry<H,I>
           
 
Constructor Summary
OrderedHash()
          Creates a new instance of OrderedHash
OrderedHash(java.util.Map importMap)
           
 
Method Summary
 void clear()
           
 java.util.Enumeration<V> elements()
           
 java.util.Set<java.util.Map.Entry<K,V>> entrySet()
           
 K getKey(int number)
           
 int getKeyCount()
           
 java.util.Enumeration<K> keys()
           
 java.util.Set<K> keySet()
           
 V put(K key, V value)
           
 void putAll(java.util.Map<? extends K,? extends V> map)
           
 V remove(java.lang.Object key)
           
 java.lang.String toString()
           
 java.util.Collection<V> values()
           
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, equals, get, hashCode, isEmpty, rehash, size
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderedHash

public OrderedHash()
Creates a new instance of OrderedHash


OrderedHash

public OrderedHash(java.util.Map importMap)
Method Detail

clear

public void clear()
Specified by:
clear in interface java.util.Map<K,V>
Overrides:
clear in class java.util.Hashtable<K,V>

elements

public java.util.Enumeration<V> elements()
Overrides:
elements in class java.util.Hashtable<K,V>

entrySet

public java.util.Set<java.util.Map.Entry<K,V>> entrySet()
Specified by:
entrySet in interface java.util.Map<K,V>
Overrides:
entrySet in class java.util.Hashtable<K,V>

keys

public java.util.Enumeration<K> keys()
Overrides:
keys in class java.util.Hashtable<K,V>

keySet

public java.util.Set<K> keySet()
Specified by:
keySet in interface java.util.Map<K,V>
Overrides:
keySet in class java.util.Hashtable<K,V>

values

public java.util.Collection<V> values()
Specified by:
values in interface java.util.Map<K,V>
Overrides:
values in class java.util.Hashtable<K,V>

getKey

public K getKey(int number)

getKeyCount

public int getKeyCount()

put

public V put(K key,
             V value)
Specified by:
put in interface java.util.Map<K,V>
Overrides:
put in class java.util.Hashtable<K,V>

putAll

public void putAll(java.util.Map<? extends K,? extends V> map)
Specified by:
putAll in interface java.util.Map<K,V>
Overrides:
putAll in class java.util.Hashtable<K,V>

remove

public V remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<K,V>
Overrides:
remove in class java.util.Hashtable<K,V>

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Hashtable<K,V>

BioLegato 0.7.3 Core API

Copyright © 2008-2010 University of Manitoba.