JavaTM 2 Platform
Std. Ed. v1.3.1

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.security Provides the classes and interfaces for the security framework. 
java.sql Provides the API for accessing and processing data in a data source 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.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.
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.
 

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

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

Uses of Map in java.awt.datatransfer
 

Methods in java.awt.datatransfer that return Map
 Map SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
 Map SystemFlavorMap.getFlavorsForNatives(String[] natives)
          map natives to corresponding flavors
 Map FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
          map flavors to native data types names
 Map FlavorMap.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(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.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.
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.
 

Uses of Map in java.sql
 

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

Methods in java.sql with parameters of type Map
 void Connection.setTypeMap(Map map)
          Installs the given type map as the type map for this connection.
 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[] Struct.getAttributes(Map map)
          Produces the ordered values of the attributes of the SQL structurec type that this Struct object represents.
 Object Array.getArray(Map map)
          Retrieves the contents of the SQL array designated by this Array object.
 Object Array.getArray(long index, int count, Map map)
          Returns an array containing a slice of the SQL array object 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)
          Returns 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)
          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)
          Returns 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)
          Returns the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language.
 

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
 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).
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 TreeMap.putAll(Map map)
          Copies all of the mappings from the specified map to this map.
 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).
 

Constructors in java.util with parameters of type Map
Hashtable(Map t)
          Constructs a new hashtable with the same mappings as the given 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.
HashMap(Map t)
          Constructs a new map 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.swing
 

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


JavaTM 2 Platform
Std. Ed. v1.3.1

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.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.