JSR-62 (Final)

Uses of Interface
java.util.Map

Packages that use Map
java.security   
java.text   
java.util   
java.util.jar   
 

Uses of Map in java.security
 

Classes in java.security that implement Map
 class Provider
          This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security, including: Algorithms (such as DSA, RSA, MD5 or SHA-1).
 

Methods in java.security with parameters of type Map
static Provider[] Security.getProviders(Map filter)
          Returns an array containing all installed providers that satisfy the specified selection criteria, or null if no such providers have been installed.
 void Provider.putAll(Map t)
          Copies all of the mappings from the specified Map to this provider.
 

Uses of Map in java.text
 

Methods in java.text that return Map
 Map AttributedCharacterIterator.getAttributes()
          Returns a map with the attributes defined on the current character.
 

Methods in java.text with parameters of type Map
 void AttributedString.addAttributes(Map attributes, int beginIndex, int endIndex)
          Adds a set of attributes to a subrange of the string.
 

Constructors in java.text with parameters of type Map
AttributedString(String text, Map attributes)
          Constructs an AttributedString instance with the given text and attributes.
 

Uses of Map in java.util
 

Subinterfaces of Map in java.util
 interface SortedMap
          A map that further guarantees that it will be in ascending key order, sorted according to the natural ordering of its keys (see the Comparable interface), or by a comparator provided at sorted map creation time.
 

Classes in java.util that implement Map
 class AbstractMap
          This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.
 class HashMap
          Hash table based implementation of the Map interface.
 class Hashtable
          This class implements a hashtable, which maps keys to values.
 class Properties
          The Properties class represents a persistent set of properties.
 class TreeMap
          Red-Black tree based implementation of the SortedMap interface.
 class WeakHashMap
          A hashtable-based Map implementation with weak keys.
 

Fields in java.util declared as Map
static Map Collections.EMPTY_MAP
          The empty map (immutable).
 

Methods in java.util that return Map
static Map Collections.unmodifiableMap(Map m)
          Returns an unmodifiable view of the specified map.
static Map Collections.synchronizedMap(Map m)
          Returns a synchronized (thread-safe) map backed by the specified map.
static Map Collections.singletonMap(Object key, Object value)
          Returns an immutable map, mapping only the specified key to the specified value.
 

Methods in java.util with parameters of type Map
static Map Collections.unmodifiableMap(Map m)
          Returns an unmodifiable view of the specified map.
static Map Collections.synchronizedMap(Map m)
          Returns a synchronized (thread-safe) map backed by the specified map.
 void AbstractMap.putAll(Map t)
          Copies all of the mappings from the specified map to this map (optional operation).
 void HashMap.putAll(Map t)
          Copies all of the mappings from the specified map to this one.
 void Map.putAll(Map t)
          Copies all of the mappings from the specified map to this map (optional operation).
 void Hashtable.putAll(Map t)
          Copies all of the mappings from the specified Map to this Hashtable These mappings will replace any mappings that this Hashtable had for any of the keys currently in the specified Map.
 void TreeMap.putAll(Map map)
          Copies all of the mappings from the specified map to this map.
 

Constructors in java.util with parameters of type Map
WeakHashMap(Map t)
          Constructs a new WeakHashMap with the same mappings as the specified Map.
HashMap(Map t)
          Constructs a new map with the same mappings as the given map.
Hashtable(Map t)
          Constructs a new hashtable with the same mappings as the given Map.
TreeMap(Map m)
          Constructs a new map containing the same mappings as the given map, sorted according to the keys' natural order.
 

Uses of Map in java.util.jar
 

Classes in java.util.jar that implement Map
 class Attributes
          The Attributes class maps Manifest attribute names to associated string values.
 

Fields in java.util.jar declared as Map
protected  Map Attributes.map
          The attribute name-value mappings.
 

Methods in java.util.jar that return Map
 Map Manifest.getEntries()
          Returns a Map of the entries contained in this Manifest.
 

Methods in java.util.jar with parameters of type Map
 void Attributes.putAll(Map attr)
          Copies all of the attribute name-value mappings from the specified Attributes to this Map.
 


JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.