de.fu_berlin.ties
Class ContextMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byde.fu_berlin.ties.ContextMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public class ContextMap
extends HashMap

A map used to store context-specific key/value pairs in the processing architecture.

Version:
$Revision: 1.1 $, $Date: 2004/02/02 18:35:58 $, $Author: siefkes $
Author:
Christian Siefkes
See Also:
Serialized Form

Constructor Summary
ContextMap()
          Creates a new instance.
ContextMap(int initialCapacity)
          Creates a new instance.
ContextMap(int initialCapacity, float loadFactor)
          Creates a new instance.
ContextMap(Map m)
          Creates a new instance.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ContextMap

public ContextMap()
Creates a new instance.


ContextMap

public ContextMap(int initialCapacity)
           throws IllegalArgumentException
Creates a new instance.

Parameters:
initialCapacity - the initial capacity
Throws:
IllegalArgumentException - if the initial capacity is negative or the load factor is nonpositive

ContextMap

public ContextMap(int initialCapacity,
                  float loadFactor)
           throws IllegalArgumentException
Creates a new instance.

Parameters:
initialCapacity - the initial capacity
loadFactor - the load factor
Throws:
IllegalArgumentException - if the initial capacity is negative or the load factor is nonpositive

ContextMap

public ContextMap(Map m)
           throws NullPointerException
Creates a new instance.

Parameters:
m - the map whose mappings are to be placed in this map
Throws:
NullPointerException - if the specified map is null


Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.