Java Platform 1.2

Uses of Interface
java.util.Map

Packages that use Map
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.font Provides classes and interface relating to fonts. 
java.security Provides the classes and interfaces for the security framework. 
java.sql Provides the JDBC package. 
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. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of Map in java.awt
 

Classes in java.awt that implement Map
 class RenderingHints
          The RenderingHints class contains rendering hints that can be used by the Graphics2D class, and classes that implement BufferedImageOp and Raster.
 

Fields in java.awt declared as Map
protected  Map Toolkit.desktopProperties
           
 

Methods in java.awt that return Map
 Map Font.getAttributes()
          Returns a map of font attributes available in this Font.
 

Methods in java.awt with parameters of type Map
 void RenderingHints.putAll(Map m)
          Copies all of the mappings from the specified Map to this RenderingHints.
abstract  void Graphics2D.setRenderingHints(Map hints)
          Replaces the values of all preferences for the rendering algorithms with the specified hints.
abstract  void Graphics2D.addRenderingHints(Map hints)
          Sets the values of an arbitrary number of preferences for the rendering algorithms.
static Font Font.getFont(Map attributes)
          Returns a Font appropriate to this attribute set.
 Font Font.deriveFont(Map attributes)
          Creates a new Font object by replicating the current Font object and applying a new set of font attributes to it.
 

Constructors in java.awt with parameters of type Map
RenderingHints.RenderingHints(Map init)
          Constructs a new object with keys and values initialized from the specified Map object (which may be null).
Font.Font(Map attributes)
          Creates a new Font with the specified attributes.
 

Uses of Map in java.awt.datatransfer
 

Methods in java.awt.datatransfer that return Map
 Map FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
 Map FlavorMap.getFlavorsForNatives(String[] natives)
          map natives to corresponding flavors
 Map SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
 Map SystemFlavorMap.getFlavorsForNatives(String[] natives)
          map natives to corresponding flavors
 

Uses of Map in java.awt.font
 

Constructors in java.awt.font with parameters of type Map
TextLayout.TextLayout(String string, Map attributes, FontRenderContext frc)
          Constructs a TextLayout from a String and an attribute set.
 

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
 void Provider.putAll(Map t)
          Copies all of the mappings from the specified Map to this provider.
 

Uses of Map in java.sql
 

Methods in java.sql that return Map
 Map Connection.getTypeMap()
          JDBC 2.0 Gets the type map object associated with this connection.
 

Methods in java.sql with parameters of type Map
 Object Array.getArray(Map map)
          Retrieves the contents of the SQL array designated by this Array object, using the specified map for type map customizations.
 Object Array.getArray(long index, int count, Map map)
          Returns an array containing a slice of the SQL array object designated by this object, beginning with the specified index and containing up to count successive elements of the SQL array.
 ResultSet Array.getResultSet(Map map)
          Returns a result set that contains the elements of the array designated by this Array object and uses the given map to map the array elements.
 ResultSet Array.getResultSet(long index, int count, Map map)
          Returns a result set holding the elements of the subarray that starts at index index and contains up to count successive elements.
 Object ResultSet.getObject(int i, Map map)
          JDBC 2.0 Returns the value of a column in the current row as a Java object.
 Object ResultSet.getObject(String colName, Map map)
          JDBC 2.0 Returns the value in the specified column as a Java object.
 Object CallableStatement.getObject(int i, Map map)
          JDBC 2.0 Returns an object representing the value of OUT parameter i and uses map for the custom mapping of the parameter value.
 Object[] Struct.getAttributes(Map map)
          Produces the ordered values of the attributes of the SQL structurec type that this Struct object represents.
 void Connection.setTypeMap(Map map)
          JDBC 2.0 Installs the given type map as the type map for this connection.
 

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.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.
 

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.
 

Methods in java.util with parameters of type 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 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.
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 Map.putAll(Map t)
          Copies all of the mappings from the specified map to this map (optional operation).
 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
Hashtable.Hashtable(Map t)
          Constructs a new hashtable with the same mappings as the given Map.
HashMap.HashMap(Map t)
          Constructs a new map with the same mappings as the given map.
TreeMap.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.
 

Uses of Map in javax.swing
 

Classes in javax.swing that implement Map
 class UIDefaults
          A table of defaults for Swing components.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.