JavaTM 2 Platform
Std. Ed. v1.4.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.awt.im Provides classes and interfaces for the input method framework. 
java.net Provides the classes for implementing networking applications. 
java.security Provides the classes and interfaces for the security framework. 
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
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.print.attribute.standard Package javax.print.attribute.standard contains classes for specific printing attributes. 
javax.security.auth.login This package provides a pluggable authentication framework. 
javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules. 
javax.sql Provides the API for server side data source access and processing from the JavaTM programming language. 
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
abstract  Map Toolkit.mapInputMethodHighlight(InputMethodHighlight highlight)
          Returns a map of visual attributes for the abstract level description of the given input method highlight, or null if no mapping is found.
 Map Font.getAttributes()
          Returns a map of font attributes available in this Font.
 

Methods in java.awt with parameters of type Map
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.
 void RenderingHints.putAll(Map m)
          Copies all of the mappings from the specified Map to this RenderingHints.
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(Map init)
          Constructs a new object with keys and values initialized from the specified Map object (which may be null).
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 SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          Returns a Map of the specified DataFlavors to their most preferred String native.
 Map SystemFlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their most preferred DataFlavor.
 Map FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          Returns a Map of the specified DataFlavors to their corresponding String native.
 Map FlavorMap.getFlavorsForNatives(String[] natives)
          Returns a Map of the specified String natives to their corresponding DataFlavor.
 

Uses of Map in java.awt.font
 

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

Uses of Map in java.awt.im
 

Methods in java.awt.im that return Map
 Map InputMethodHighlight.getStyle()
          Returns the rendering style attributes for the text range, or null.
 

Constructors in java.awt.im with parameters of type Map
InputMethodHighlight(boolean selected, int state, int variation, Map style)
          Constructs an input method highlight record.
 

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

Methods in java.sql that return Map
 Map Connection.getTypeMap()
          Retrieves the Map object associated with this Connection object.
 

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

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

Constructors in java.util with parameters of type Map
IdentityHashMap(Map m)
          Constructs a new identity hash map containing the keys-value mappings in the specified 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.
LinkedHashMap(Map m)
          Constructs an insertion-ordered LinkedHashMap instance with the same mappings as the specified map.
HashMap(Map m)
          Constructs a new HashMap with the same mappings as the specified Map.
Hashtable(Map t)
          Constructs a new hashtable with the same mappings as the given 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.
 

Uses of Map in javax.print.attribute.standard
 

Classes in javax.print.attribute.standard that implement Map
 class PrinterStateReasons
          Class PrinterStateReasons is a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer's PrinterState attribute.
 

Constructors in javax.print.attribute.standard with parameters of type Map
PrinterStateReasons(Map map)
          Construct a new printer state reasons attribute that contains the same PrinterStateReason-to-Severity mappings as the given map.
 

Uses of Map in javax.security.auth.login
 

Methods in javax.security.auth.login that return Map
 Map AppConfigurationEntry.getOptions()
          Get the options configured for this LoginModule.
 

Constructors in javax.security.auth.login with parameters of type Map
AppConfigurationEntry(String loginModuleName, AppConfigurationEntry.LoginModuleControlFlag controlFlag, Map options)
          Default constructor for this class.
 

Uses of Map in javax.security.auth.spi
 

Methods in javax.security.auth.spi with parameters of type Map
 void LoginModule.initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
          Initialize this LoginModule.
 

Uses of Map in javax.sql
 

Methods in javax.sql that return Map
 Map RowSet.getTypeMap()
          Retrieves the Map object associated with this RowSet object, which specifies the custom mapping of SQL user-defined types, if any.
 

Methods in javax.sql with parameters of type Map
 void RowSet.setTypeMap(Map map)
          Installs the given java.util.Map object as the default type map for this RowSet object.
 

Uses of Map in javax.swing
 

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


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.