Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Interface
java.util.Map

Packages that use Map
java.net Provides the classes for implementing networking applications. 
java.security Provides the classes and interfaces for the security framework. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
 

Uses of Map in java.net
 

Methods in java.net that return Map
 Map URLConnection.getHeaderFields()
          Returns an unmodifiable Map of the header fields.
 Map URLConnection.getRequestProperties()
          Returns an unmodifiable Map of general request properties for this connection.
 

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.
 

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 IdentityHashMap
          This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).
 class LinkedHashMap
          Hash table and linked list implementation of the Map interface, with predictable iteration order.
 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
 void WeakHashMap.putAll(Map m)
          Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map 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.
 void IdentityHashMap.putAll(Map t)
          Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
 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 HashMap.putAll(Map m)
          Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
 void Map.putAll(Map t)
          Copies all of the mappings from the specified map to this map (optional operation).
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).
 

Constructors in java.util with parameters of type Map
WeakHashMap(Map t)
          Constructs a new WeakHashMap with the same mappings as the specified Map.
TreeMap(Map m)
          Constructs a new map containing the same mappings as the given map, sorted according to the keys' natural order.
IdentityHashMap(Map m)
          Constructs a new identity hash map containing the keys-value mappings in the specified map.
LinkedHashMap(Map m)
          Constructs an insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
Hashtable(Map t)
          Constructs a new hashtable with the same mappings as the given Map.
HashMap(Map m)
          Constructs a new HashMap with the same mappings as the specified Map.
 

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.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.