com.planet_ink.coffee_mud.core.collections
Class DoubleMap<K,F>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.DoubleMap<K,F>
All Implemented Interfaces:
java.io.Serializable, java.util.Map<K,F>

public class DoubleMap<K,F>
extends java.lang.Object
implements java.util.Map<K,F>, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
DoubleMap(java.util.Map<K,F> map1, java.util.Map<F,K> map2)
           
 
Method Summary
 void clear()
           
 boolean contains(java.lang.Object arg0)
           
 boolean containsKey(java.lang.Object arg0)
           
 boolean containsValue(java.lang.Object arg0)
           
 java.util.Enumeration<F> elements()
           
 java.util.Set<java.util.Map.Entry<K,F>> entrySet()
           
 boolean equals(java.lang.Object arg0)
           
 F get(java.lang.Object arg0)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Set<K> keySet()
           
 F put(K arg0, F arg1)
           
 void putAll(java.util.Map<? extends K,? extends F> arg0)
           
 F remove(java.lang.Object arg0)
           
 int size()
           
 java.lang.String toString()
           
 java.util.Vector<java.lang.String> toStringVector(java.lang.String divider)
           
 java.util.Collection<F> values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleMap

public DoubleMap(java.util.Map<K,F> map1,
                 java.util.Map<F,K> map2)
Method Detail

toStringVector

public java.util.Vector<java.lang.String> toStringVector(java.lang.String divider)

clear

public void clear()
Specified by:
clear in interface java.util.Map<K,F>

contains

public boolean contains(java.lang.Object arg0)

containsKey

public boolean containsKey(java.lang.Object arg0)
Specified by:
containsKey in interface java.util.Map<K,F>

containsValue

public boolean containsValue(java.lang.Object arg0)
Specified by:
containsValue in interface java.util.Map<K,F>

elements

public java.util.Enumeration<F> elements()

entrySet

public java.util.Set<java.util.Map.Entry<K,F>> entrySet()
Specified by:
entrySet in interface java.util.Map<K,F>

equals

public boolean equals(java.lang.Object arg0)
Specified by:
equals in interface java.util.Map<K,F>
Overrides:
equals in class java.lang.Object

get

public F get(java.lang.Object arg0)
Specified by:
get in interface java.util.Map<K,F>

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map<K,F>
Overrides:
hashCode in class java.lang.Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map<K,F>

keySet

public java.util.Set<K> keySet()
Specified by:
keySet in interface java.util.Map<K,F>

put

public F put(K arg0,
             F arg1)
Specified by:
put in interface java.util.Map<K,F>

remove

public F remove(java.lang.Object arg0)
Specified by:
remove in interface java.util.Map<K,F>

size

public int size()
Specified by:
size in interface java.util.Map<K,F>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

values

public java.util.Collection<F> values()
Specified by:
values in interface java.util.Map<K,F>

putAll

public void putAll(java.util.Map<? extends K,? extends F> arg0)
Specified by:
putAll in interface java.util.Map<K,F>