Uses of Interface
java.util.Map
Packages that useMap Package Description com.sun.jdi This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.com.sun.jdi.connect This package defines connections between the virtual machine using the JDI and the target virtual machine.com.sun.management This package contains the JDK's extension to the standard implementation of thejava.lang.managementAPI and also defines the management interface for some other components of the platform.com.sun.net.httpserver Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.com.sun.security.auth.module Provides implementations ofLoginModule.com.sun.tools.jconsole This package contains the JConsole API.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.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.instrument Provides services that allow Java programming language agents to instrument programs running on the JVM.java.lang.management Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime.java.net Provides the classes for implementing networking applications.java.net.http HTTP Client and WebSocket APIsjava.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.spi Service-provider classes for thejava.nio.filepackage.java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.java.sql Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava™ programming language.java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.time The main API for dates, times, instants, and durations.java.time.chrono Generic API for calendar systems other than the default ISO.java.time.format Provides classes to print and parse dates and times.java.time.temporal Access to date and time using fields and units, and date time adjusters.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.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.java.util.spi Service provider classes for the classes in the java.util package.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.javax.lang.model.element Interfaces used to model elements of the Java programming language.javax.lang.model.util Utilities to assist in the processing ofprogram elements andtypes.javax.management Provides the core classes for the Java Management Extensions.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.relation Provides the definition of the Relation Service.javax.management.remote Interfaces for remote access to JMX MBean servers.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.javax.print.attribute.standard Packagejavax.print.attribute.standardcontains classes for specific printing attributes.javax.script The scripting API consists of interfaces and classes that defineJava™ Scripting Engines and providesa framework for their use in Java applications.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.security.auth.x500 This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in aSubject.javax.security.sasl Contains class and interfaces for supporting SASL.javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sql Provides the API for server side data source access and processing fromthe Java™ programming language.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL typesand data types in the Java 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.javax.xml.crypto.dsig.spec Parameter classes for XML digital signatures.jdk.jfr This package provides classes to create events and control Flight Recorder.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.jdk.jshell.execution Provides implementation support for building JShell execution engines.jdk.jshell.spi Defines the Service Provider Interface for pluggable JShell execution engines.jdk.jshell.tool Provides a mechanism to launch an instance of a Java™ shell tool.jdk.management.jfr This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn.Uses ofMap incom.sun.jdi
Methods incom.sun.jdi that returnMap Modifier and Type Method Description Map<Field,Value>ObjectReference. getValues(List<? extendsField> fields)Gets the value of multiple instance and/or static fields in this object.Map<Field,Value>ReferenceType. getValues(List<? extendsField> fields)Map<LocalVariable,Value>StackFrame. getValues(List<? extendsLocalVariable> variables)Returns the values of multiple local variables in this frame.Methods incom.sun.jdi with parameters of typeMap Modifier and Type Method Description voidVirtualMachine. redefineClasses(Map<? extendsReferenceType,byte[]> classToBytes)All classes given are redefined according to the definitions supplied.Uses ofMap incom.sun.jdi.connect
Methods incom.sun.jdi.connect that returnMap Modifier and Type Method Description Map<String,Connector.Argument>Connector. defaultArguments()Returns the arguments accepted by this Connector and their default values.Methods incom.sun.jdi.connect with parameters of typeMap Modifier and Type Method Description VirtualMachineListeningConnector. accept(Map<String,? extendsConnector.Argument> arguments)Waits for a target VM to attach to this connector.VirtualMachineAttachingConnector. attach(Map<String,? extendsConnector.Argument> arguments)Attaches to a running application and returns a mirror of its VM.VirtualMachineLaunchingConnector. launch(Map<String,? extendsConnector.Argument> arguments)Launches an application and connects to its VM.StringListeningConnector. startListening(Map<String,? extendsConnector.Argument> arguments)Listens for one or more connections initiated by target VMs.voidListeningConnector. stopListening(Map<String,? extendsConnector.Argument> arguments)Cancels listening for connections.Uses ofMap incom.sun.management
Methods incom.sun.management that returnMap Modifier and Type Method Description Map<String,MemoryUsage>GcInfo. getMemoryUsageAfterGc()Returns the memory usage of all memory pools at the end of this GC.Map<String,MemoryUsage>GcInfo. getMemoryUsageBeforeGc()Returns the memory usage of all memory pools at the beginning of this GC.Uses ofMap incom.sun.net.httpserver
Classes incom.sun.net.httpserver that implementMap Modifier and Type Class Description classHeadersMethods incom.sun.net.httpserver that returnMap Modifier and Type Method Description abstractMap<String,Object>HttpContext. getAttributes()returns a mutable Map, which can be used to pass configuration and other data to Filter modules and to the context's exchange handler.Uses ofMap incom.sun.security.auth.module
Methods incom.sun.security.auth.module with parameters of typeMap Modifier and Type Method Description voidJndiLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.voidKeyStoreLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.voidKrb5LoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.voidLdapLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.voidNTLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.voidUnixLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.Uses ofMap incom.sun.tools.jconsole
Methods incom.sun.tools.jconsole that returnMap Modifier and Type Method Description abstractMap<String,JPanel>JConsolePlugin. getTabs()Returns the tabs to be added in JConsole window.Uses ofMap injava.awt
Classes injava.awt that implementMap Modifier and Type Class Description classRenderingHintsTheRenderingHintsclass defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.Fields injava.awt declared asMap Modifier and Type Field Description protectedMap<String,Object>Toolkit. desktopPropertiesThe desktop properties.Methods injava.awt that returnMap Modifier and Type Method Description Map<TextAttribute,?>Font. getAttributes()Returns a map of font attributes available in thisFont.abstractMap<TextAttribute,?>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 injava.awt with parameters of typeMap Modifier and Type Method Description abstract voidGraphics2D. addRenderingHints(Map<?,?> hints)Sets the values of an arbitrary number of preferences for the rendering algorithms.FontFont. deriveFont(Map<? extendsAttributedCharacterIterator.Attribute,?> attributes)Creates a newFontobject by replicating the currentFontobject and applying a new set of font attributes to it.staticFontFont. getFont(Map<? extendsAttributedCharacterIterator.Attribute,?> attributes)Returns aFontappropriate to the attributes.voidRenderingHints. putAll(Map<?,?> m)Copies all of the mappings from the specifiedMapto thisRenderingHints.abstract voidGraphics2D. setRenderingHints(Map<?,?> hints)Replaces the values of all preferences for the rendering algorithms with the specifiedhints.Constructors injava.awt with parameters of typeMap Constructor Description Font(Map<? extendsAttributedCharacterIterator.Attribute,?> attributes)Creates a newFontwith the specified attributes.RenderingHints(Map<RenderingHints.Key,?> init)Constructs a new object with keys and values initialized from the specified Map object which may be null.Uses ofMap injava.awt.datatransfer
Methods injava.awt.datatransfer that returnMap Modifier and Type Method Description Map<String,DataFlavor>FlavorMap. getFlavorsForNatives(String[] natives)Returns aMapof the specifiedStringnatives to their correspondingDataFlavor.Map<String,DataFlavor>SystemFlavorMap. getFlavorsForNatives(String[] natives)Returns aMapof the specifiedStringnatives to their most preferredDataFlavor.Map<DataFlavor,String>FlavorMap. getNativesForFlavors(DataFlavor[] flavors)Returns aMapof the specifiedDataFlavors to their correspondingStringnative.Map<DataFlavor,String>SystemFlavorMap. getNativesForFlavors(DataFlavor[] flavors)Returns aMapof the specifiedDataFlavors to their most preferredStringnative.Uses ofMap injava.awt.font
Constructors injava.awt.font with parameters of typeMap Constructor Description TextLayout(String string,Map<? extendsAttributedCharacterIterator.Attribute,?> attributes,FontRenderContext frc)Constructs aTextLayoutfrom aStringand an attribute set.Uses ofMap injava.awt.im
Methods injava.awt.im that returnMap Modifier and Type Method Description Map<TextAttribute,?>InputMethodHighlight. getStyle()Returns the rendering style attributes for the text range, or null.Constructors injava.awt.im with parameters of typeMap Constructor Description InputMethodHighlight(boolean selected, int state, int variation,Map<TextAttribute,?> style)Constructs an input method highlight record.Uses ofMap injava.lang
Methods injava.lang that returnMap Modifier and Type Method Description Map<String,String>ProcessBuilder. environment()Returns a string map view of this process builder's environment.staticMap<Thread,StackTraceElement[]>Thread. getAllStackTraces()Returns a map of stack traces for all live threads.staticMap<String,String>System. getenv()Returns an unmodifiable string map view of the current system environment.Uses ofMap injava.lang.instrument
Methods injava.lang.instrument with parameters of typeMap Modifier and Type Method Description voidInstrumentation. redefineModule(Module module,Set<Module> extraReads,Map<String,Set<Module>> extraExports,Map<String,Set<Module>> extraOpens,Set<Class<?>> extraUses,Map<Class<?>,List<Class<?>>> extraProvides)Redefine a module to expand the set of modules that it reads, the set of packages that it exports or opens, or the services that it uses or provides.Uses ofMap injava.lang.management
Methods injava.lang.management that returnMap Modifier and Type Method Description Map<String,String>RuntimeMXBean. getSystemProperties()Returns a map of names and values of all system properties.Uses ofMap injava.net
Methods injava.net that returnMap Modifier and Type Method Description abstractMap<String,List<String>>CookieHandler. get(URI uri,Map<String,List<String>> requestHeaders)Gets all the applicable cookies from a cookie cache for the specified uri in the request header.Map<String,List<String>>URLConnection. getHeaderFields()Returns an unmodifiable Map of the header fields.abstractMap<String,List<String>>CacheResponse. getHeaders()Returns the response headers as a Map.Map<String,List<String>>URLConnection. getRequestProperties()Returns an unmodifiable Map of general request properties for this connection.Methods injava.net with parameters of typeMap Modifier and Type Method Description abstractMap<String,List<String>>CookieHandler. get(URI uri,Map<String,List<String>> requestHeaders)Gets all the applicable cookies from a cookie cache for the specified uri in the request header.abstractCacheResponseResponseCache. get(URI uri,String rqstMethod,Map<String,List<String>> rqstHeaders)Retrieve the cached response based on the requesting uri, request method and request headers.abstract voidCookieHandler. put(URI uri,Map<String,List<String>> responseHeaders)Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.Uses ofMap injava.net.http
Methods injava.net.http that returnMap Modifier and Type Method Description Map<String,List<String>>HttpHeaders. map()Returns an unmodifiable multi Map view of this HttpHeaders.Methods injava.net.http with parameters of typeMap Modifier and Type Method Description staticHttpHeadersHttpHeaders. of(Map<String,List<String>> headerMap,BiPredicate<String,String> filter)Returns an HTTP headers from the given map.Uses ofMap injava.nio.file
Methods injava.nio.file that returnMap Modifier and Type Method Description staticMap<String,Object>Files. readAttributes(Path path,String attributes,LinkOption... options)Reads a set of file attributes as a bulk operation.Methods injava.nio.file with parameters of typeMap Modifier and Type Method Description staticFileSystemFileSystems. newFileSystem(URI uri,Map<String,?> env)Constructs a new file system that is identified by aURIstaticFileSystemFileSystems. newFileSystem(URI uri,Map<String,?> env,ClassLoader loader)Constructs a new file system that is identified by aURIUses ofMap injava.nio.file.spi
Methods injava.nio.file.spi that returnMap Modifier and Type Method Description abstractMap<String,Object>FileSystemProvider. readAttributes(Path path,String attributes,LinkOption... options)Reads a set of file attributes as a bulk operation.Methods injava.nio.file.spi with parameters of typeMap Modifier and Type Method Description abstractFileSystemFileSystemProvider. newFileSystem(URI uri,Map<String,?> env)Constructs a newFileSystemobject identified by a URI.FileSystemFileSystemProvider. newFileSystem(Path path,Map<String,?> env)Constructs a newFileSystemto access the contents of a file as a file system.Uses ofMap injava.security
Classes injava.security that implementMap Modifier and Type Class Description classAuthProviderThis class defines login and logout methods for a provider.classProviderThis class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.Methods injava.security that returnMap Modifier and Type Method Description Map<String,KeyStore.ProtectionParameter>DomainLoadStoreParameter. getProtectionParams()Gets the keystore protection parameters for keystores in this domain.Methods injava.security with parameters of typeMap Modifier and Type Method Description staticProvider[]Security. getProviders(Map<String,String> filter)Returns an array containing all installed providers that satisfy the specified selection criteria, or null if no such providers have been installed.voidProvider. putAll(Map<?,?> t)Copies all of the mappings from the specified Map to this provider.Constructors injava.security with parameters of typeMap Constructor Description DomainLoadStoreParameter(URI configuration,Map<String,KeyStore.ProtectionParameter> protectionParams)Constructs a DomainLoadStoreParameter for a keystore domain with the parameters used to protect keystore data.Service(Provider provider,String type,String algorithm,String className,List<String> aliases,Map<String,String> attributes)Construct a new service.Uses ofMap injava.security.cert
Methods injava.security.cert that returnMap Modifier and Type Method Description Map<String,Extension>CertificateRevokedException. getExtensions()Returns a map of X.509 extensions containing additional information about the revoked certificate, such as the Invalidity Date Extension.Map<X509Certificate,byte[]>PKIXRevocationChecker. getOcspResponses()Gets the OCSP responses.Methods injava.security.cert with parameters of typeMap Modifier and Type Method Description voidPKIXRevocationChecker. setOcspResponses(Map<X509Certificate,byte[]> responses)Sets the OCSP responses.Constructors injava.security.cert with parameters of typeMap Constructor Description CertificateRevokedException(Date revocationDate,CRLReason reason,X500Principal authority,Map<String,Extension> extensions)Constructs aCertificateRevokedExceptionwith the specified revocation date, reason code, authority name, and map of extensions.Uses ofMap injava.sql
Methods injava.sql that returnMap Modifier and Type Method Description Map<String,ClientInfoStatus>SQLClientInfoException. getFailedProperties()Returns the list of client info properties that could not be set.Map<String,Class<?>>Connection. getTypeMap()Retrieves theMapobject associated with thisConnectionobject.Methods injava.sql with parameters of typeMap Modifier and Type Method Description ObjectArray. getArray(long index, int count,Map<String,Class<?>> map)Retrieves a slice of the SQLARRAYvalue designated by thisArrayobject, beginning with the specifiedindexand containing up tocountsuccessive elements of the SQL array.ObjectArray. getArray(Map<String,Class<?>> map)Retrieves the contents of the SQLARRAYvalue designated by thisArrayobject.Object[]Struct. getAttributes(Map<String,Class<?>> map)Produces the ordered values of the attributes of the SQL structured type that thisStructobject represents.ObjectCallableStatement. getObject(int parameterIndex,Map<String,Class<?>> map)Returns an object representing the value of OUT parameterparameterIndexand usesmapfor the custom mapping of the parameter value.ObjectCallableStatement. getObject(String parameterName,Map<String,Class<?>> map)Returns an object representing the value of OUT parameterparameterNameand usesmapfor the custom mapping of the parameter value.ObjectRef. getObject(Map<String,Class<?>> map)Retrieves the referenced object and maps it to a Java type using the given type map.ObjectResultSet. getObject(int columnIndex,Map<String,Class<?>> map)Retrieves the value of the designated column in the current row of thisResultSetobject as anObjectin the Java programming language.ObjectResultSet. getObject(String columnLabel,Map<String,Class<?>> map)Retrieves the value of the designated column in the current row of thisResultSetobject as anObjectin the Java programming language.ResultSetArray. getResultSet(long index, int count,Map<String,Class<?>> map)Retrieves a result set holding the elements of the subarray that starts at indexindexand contains up tocountsuccessive elements.ResultSetArray. getResultSet(Map<String,Class<?>> map)Retrieves a result set that contains the elements of the SQLARRAYvalue designated by thisArrayobject.voidConnection. setTypeMap(Map<String,Class<?>> map)Installs the givenTypeMapobject as the type map for thisConnectionobject.Constructors injava.sql with parameters of typeMap Constructor Description SQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLState,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState, int vendorCode,Map<String,ClientInfoStatus> failedProperties,Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLState,cause,vendorCodeandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLStateandfailedProperties.SQLClientInfoException(String reason,String SQLState,Map<String,ClientInfoStatus> failedProperties,Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLState,causeandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties)Constructs aSQLClientInfoExceptionobject initialized with a givenreasonandfailedProperties.SQLClientInfoException(String reason,Map<String,ClientInfoStatus> failedProperties,Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,causeandfailedProperties.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties)Constructs aSQLClientInfoExceptionobject initialized with a givenfailedProperties.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties,Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givencauseandfailedProperties.Uses ofMap injava.text
Methods injava.text that returnMap Modifier and Type Method Description Map<AttributedCharacterIterator.Attribute,Object>AttributedCharacterIterator. getAttributes()Returns a map with the attributes defined on the current character.Methods injava.text with parameters of typeMap Modifier and Type Method Description voidAttributedString. addAttributes(Map<? extendsAttributedCharacterIterator.Attribute,?> attributes, int beginIndex, int endIndex)Adds a set of attributes to a subrange of the string.Constructors injava.text with parameters of typeMap Constructor Description AttributedString(String text,Map<? extendsAttributedCharacterIterator.Attribute,?> attributes)Constructs an AttributedString instance with the given text and attributes.Uses ofMap injava.time
Fields injava.time declared asMap Modifier and Type Field Description staticMap<String,String>ZoneId. SHORT_IDSA map of zone overrides to enable the short time-zone names to be used.Methods injava.time with parameters of typeMap Modifier and Type Method Description staticZoneIdZoneId. of(String zoneId,Map<String,String> aliasMap)Obtains an instance ofZoneIdusing its ID using a map of aliases to supplement the standard zone IDs.Uses ofMap injava.time.chrono
Methods injava.time.chrono with parameters of typeMap Modifier and Type Method Description ChronoLocalDateAbstractChronology. resolveDate(Map<TemporalField,Long> fieldValues,ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.ChronoLocalDateChronology. resolveDate(Map<TemporalField,Long> fieldValues,ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.LocalDateIsoChronology. resolveDate(Map<TemporalField,Long> fieldValues,ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.Uses ofMap injava.time.format
Methods injava.time.format with parameters of typeMap Modifier and Type Method Description DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(TemporalField field,Map<Long,String> textLookup)Appends the text of a date-time field to the formatter using the specified map to supply the text.Uses ofMap injava.time.temporal
Methods injava.time.temporal with parameters of typeMap Modifier and Type Method Description defaultTemporalAccessorTemporalField. resolve(Map<TemporalField,Long> fieldValues,TemporalAccessor partialTemporal,ResolverStyle resolverStyle)Resolves this field to provide a simpler alternative or a date.Uses ofMap injava.util
Subinterfaces ofMap injava.util Modifier and Type Interface Description interfaceNavigableMap<K,V>ASortedMapextended with navigation methods returning the closest matches for given search targets.interfaceSortedMap<K,V>AMapthat further provides atotal ordering on its keys.Classes injava.util that implementMap Modifier and Type Class Description classAbstractMap<K,V>This class provides a skeletal implementation of theMapinterface, to minimize the effort required to implement this interface.classEnumMap<K extendsEnum<K>,V>A specializedMapimplementation for use with enum type keys.classHashMap<K,V>Hash table based implementation of theMapinterface.classHashtable<K,V>This class implements a hash table, which maps keys to values.classIdentityHashMap<K,V>This class implements theMapinterface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).classLinkedHashMap<K,V>Hash table and linked list implementation of theMapinterface, with predictable iteration order.classPropertiesThePropertiesclass represents a persistent set of properties.classTreeMap<K,V>A Red-Black tree basedNavigableMapimplementation.classWeakHashMap<K,V>Hash table based implementation of theMapinterface, withweak keys.Fields injava.util declared asMap Modifier and Type Field Description staticMapCollections. EMPTY_MAPThe empty map (immutable).Methods injava.util that returnMap Modifier and Type Method Description static <K,V>
Map<K,V>Collections. checkedMap(Map<K,V> m,Class<K> keyType,Class<V> valueType)Returns a dynamically typesafe view of the specified map.static <K,V>
Map<K,V>Map. copyOf(Map<? extends K,? extends V> map)Returns anunmodifiable Map containing the entries of the given Map.static <K,V>
Map<K,V>Collections. emptyMap()Returns an empty map (immutable).Map<String,Integer>Calendar. getDisplayNames(int field, int style,Locale locale)Returns aMapcontaining all names of the calendarfieldin the givenstyleandlocaleand their corresponding field values.static <K,V>
Map<K,V>Map. of()Returns an unmodifiable map containing zero mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1)Returns an unmodifiable map containing a single mapping.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2)Returns an unmodifiable map containing two mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3)Returns an unmodifiable map containing three mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)Returns an unmodifiable map containing four mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)Returns an unmodifiable map containing five mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)Returns an unmodifiable map containing six mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)Returns an unmodifiable map containing seven mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)Returns an unmodifiable map containing eight mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)Returns an unmodifiable map containing nine mappings.static <K,V>
Map<K,V>Map. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)Returns an unmodifiable map containing ten mappings.static <K,V>
Map<K,V>Map. ofEntries(Map.Entry<? extends K,? extends V>... entries)Returns an unmodifiable map containing keys and values extracted from the given entries.static <K,V>
Map<K,V>Collections. singletonMap(K key, V value)Returns an immutable map, mapping only the specified key to the specified value.static <K,V>
Map<K,V>Collections. synchronizedMap(Map<K,V> m)Returns a synchronized (thread-safe) map backed by the specified map.static <K,V>
Map<K,V>Collections. unmodifiableMap(Map<? extends K,? extends V> m)Returns anunmodifiable view of the specified map.Methods injava.util with parameters of typeMap Modifier and Type Method Description static <K,V>
Map<K,V>Collections. checkedMap(Map<K,V> m,Class<K> keyType,Class<V> valueType)Returns a dynamically typesafe view of the specified map.static <K,V>
Map<K,V>Map. copyOf(Map<? extends K,? extends V> map)Returns anunmodifiable Map containing the entries of the given Map.staticList<Locale.LanguageRange>Locale.LanguageRange. mapEquivalents(List<Locale.LanguageRange> priorityList,Map<String,List<String>> map)Generates a new customized Language Priority List using the givenpriorityListandmap.static <E> Set<E>Collections. newSetFromMap(Map<E,Boolean> map)Returns a set backed by the specified map.staticList<Locale.LanguageRange>Locale.LanguageRange. parse(String ranges,Map<String,List<String>> map)Parses the givenrangesto generate a Language Priority List, and then customizes the list using the givenmap.voidAbstractMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map (optional operation).voidEnumMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map.voidHashMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map.voidHashtable. putAll(Map<? extendsK,? extendsV> t)Copies all of the mappings from the specified map to this hashtable.voidIdentityHashMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map.voidMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map (optional operation).voidTreeMap. putAll(Map<? extendsK,? extendsV> map)Copies all of the mappings from the specified map to this map.voidWeakHashMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this map.static <K,V>
Map<K,V>Collections. synchronizedMap(Map<K,V> m)Returns a synchronized (thread-safe) map backed by the specified map.static <K,V>
Map<K,V>Collections. unmodifiableMap(Map<? extends K,? extends V> m)Returns anunmodifiable view of the specified map.Constructors injava.util with parameters of typeMap Constructor Description EnumMap(Map<K,? extendsV> m)Creates an enum map initialized from the specified map.HashMap(Map<? extendsK,? extendsV> m)Constructs a newHashMapwith the same mappings as the specifiedMap.Hashtable(Map<? extendsK,? extendsV> t)Constructs a new hashtable with the same mappings as the given Map.IdentityHashMap(Map<? extendsK,? extendsV> m)Constructs a new identity hash map containing the keys-value mappings in the specified map.LinkedHashMap(Map<? extendsK,? extendsV> m)Constructs an insertion-orderedLinkedHashMapinstance with the same mappings as the specified map.TreeMap(Map<? extendsK,? extendsV> m)Constructs a new tree map containing the same mappings as the given map, ordered according to thenatural ordering of its keys.WeakHashMap(Map<? extendsK,? extendsV> m)Constructs a newWeakHashMapwith the same mappings as the specified map.Uses ofMap injava.util.concurrent
Subinterfaces ofMap injava.util.concurrent Modifier and Type Interface Description interfaceConcurrentMap<K,V>AMapproviding thread safety and atomicity guarantees.interfaceConcurrentNavigableMap<K,V>AConcurrentMapsupportingNavigableMapoperations, and recursively so for its navigable sub-maps.Classes injava.util.concurrent that implementMap Modifier and Type Class Description classConcurrentHashMap<K,V>A hash table supporting full concurrency of retrievals and high expected concurrency for updates.classConcurrentSkipListMap<K,V>A scalable concurrentConcurrentNavigableMapimplementation.Methods injava.util.concurrent with parameters of typeMap Modifier and Type Method Description voidConcurrentHashMap. putAll(Map<? extendsK,? extendsV> m)Copies all of the mappings from the specified map to this one.Constructors injava.util.concurrent with parameters of typeMap Constructor Description ConcurrentHashMap(Map<? extendsK,? extendsV> m)Creates a new map with the same mappings as the given map.ConcurrentSkipListMap(Map<? extendsK,? extendsV> m)Constructs a new map containing the same mappings as the given map, sorted according to thenatural ordering of the keys.Uses ofMap injava.util.jar
Classes injava.util.jar that implementMap Modifier and Type Class Description classAttributesThe Attributes class maps Manifest attribute names to associated string values.Fields injava.util.jar declared asMap Modifier and Type Field Description protectedMap<Object,Object>Attributes. mapThe attribute name-value mappings.Methods injava.util.jar that returnMap Modifier and Type Method Description Map<String,Attributes>Manifest. getEntries()Returns a Map of the entries contained in this Manifest.Methods injava.util.jar with parameters of typeMap Modifier and Type Method Description voidAttributes. putAll(Map<?,?> attr)Copies all of the attribute name-value mappings from the specified Attributes to this Map.Uses ofMap injava.util.spi
Methods injava.util.spi that returnMap Modifier and Type Method Description abstractMap<String,Integer>CalendarNameProvider. getDisplayNames(String calendarType, int field, int style,Locale locale)Returns aMapcontaining all string representations (display names) of theCalendarfieldin the givenstyleandlocaleand their corresponding field values.Uses ofMap injava.util.stream
Methods injava.util.stream with type parameters of typeMap Modifier and Type Method Description static <T,K,D,A,M extendsMap<K,D>>
Collector<T,?,M>Collectors. groupingBy(Function<? super T,? extends K> classifier,Supplier<M> mapFactory,Collector<? super T,A,D> downstream)Returns aCollectorimplementing a cascaded "group by" operation on input elements of typeT, grouping elements according to a classification function, and then performing a reduction operation on the values associated with a given key using the specified downstreamCollector.static <T,K,U,M extendsMap<K,U>>
Collector<T,?,M>Collectors. toMap(Function<? super T,? extends K> keyMapper,Function<? super T,? extends U> valueMapper,BinaryOperator<U> mergeFunction,Supplier<M> mapFactory)Returns aCollectorthat accumulates elements into aMapwhose keys and values are the result of applying the provided mapping functions to the input elements.Methods injava.util.stream that return types with arguments of typeMap Modifier and Type Method Description static <T,K>
Collector<T,?,Map<K,List<T>>>Collectors. groupingBy(Function<? super T,? extends K> classifier)Returns aCollectorimplementing a "group by" operation on input elements of typeT, grouping elements according to a classification function, and returning the results in aMap.static <T,K,A,D>
Collector<T,?,Map<K,D>>Collectors. groupingBy(Function<? super T,? extends K> classifier,Collector<? super T,A,D> downstream)Returns aCollectorimplementing a cascaded "group by" operation on input elements of typeT, grouping elements according to a classification function, and then performing a reduction operation on the values associated with a given key using the specified downstreamCollector.static <T> Collector<T,?,Map<Boolean,List<T>>>Collectors. partitioningBy(Predicate<? super T> predicate)Returns aCollectorwhich partitions the input elements according to aPredicate, and organizes them into aMap<Boolean, List<T>>.static <T,D,A>
Collector<T,?,Map<Boolean,D>>Collectors. partitioningBy(Predicate<? super T> predicate,Collector<? super T,A,D> downstream)Returns aCollectorwhich partitions the input elements according to aPredicate, reduces the values in each partition according to anotherCollector, and organizes them into aMap<Boolean, D>whose values are the result of the downstream reduction.static <T,K,U>
Collector<T,?,Map<K,U>>Collectors. toMap(Function<? super T,? extends K> keyMapper,Function<? super T,? extends U> valueMapper)Returns aCollectorthat accumulates elements into aMapwhose keys and values are the result of applying the provided mapping functions to the input elements.static <T,K,U>
Collector<T,?,Map<K,U>>Collectors. toMap(Function<? super T,? extends K> keyMapper,Function<? super T,? extends U> valueMapper,BinaryOperator<U> mergeFunction)Returns aCollectorthat accumulates elements into aMapwhose keys and values are the result of applying the provided mapping functions to the input elements.static <T,K,U>
Collector<T,?,Map<K,U>>Collectors. toUnmodifiableMap(Function<? super T,? extends K> keyMapper,Function<? super T,? extends U> valueMapper)Returns aCollectorthat accumulates the input elements into anunmodifiable Map, whose keys and values are the result of applying the provided mapping functions to the input elements.static <T,K,U>
Collector<T,?,Map<K,U>>Collectors. toUnmodifiableMap(Function<? super T,? extends K> keyMapper,Function<? super T,? extends U> valueMapper,BinaryOperator<U> mergeFunction)Returns aCollectorthat accumulates the input elements into anunmodifiable Map, whose keys and values are the result of applying the provided mapping functions to the input elements.Uses ofMap injavax.annotation.processing
Methods injavax.annotation.processing that returnMap Modifier and Type Method Description Map<String,String>ProcessingEnvironment. getOptions()Returns the processor-specific options passed to the annotation processing tool.Uses ofMap injavax.lang.model.element
Methods injavax.lang.model.element that returnMap Modifier and Type Method Description Map<? extendsExecutableElement,? extendsAnnotationValue>AnnotationMirror. getElementValues()Returns the values of this annotation's elements.Uses ofMap injavax.lang.model.util
Methods injavax.lang.model.util that returnMap Modifier and Type Method Description Map<? extendsExecutableElement,? extendsAnnotationValue>Elements. getElementValuesWithDefaults(AnnotationMirror a)Returns the values of an annotation's elements, including defaults.Uses ofMap injavax.management
Constructors injavax.management with parameters of typeMap Constructor Description ImmutableDescriptor(Map<String,?> fields)Construct a descriptor where the names and values of the fields are the keys and values of the given Map.Uses ofMap injavax.management.loading
Methods injavax.management.loading that returnMap Modifier and Type Method Description Map<String,String>MLetContent. getAttributes()Gets the attributes of theMLETtag.Constructors injavax.management.loading with parameters of typeMap Constructor Description MLetContent(URL url,Map<String,String> attributes,List<String> types,List<String> values)Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.Uses ofMap injavax.management.openmbean
Classes injavax.management.openmbean that implementMap Modifier and Type Class Description classTabularDataSupportTheTabularDataSupportclass is theopen data class which implements theTabularDataand theMapinterfaces, and which is internally based on a hash map data structure.Methods injavax.management.openmbean with parameters of typeMap Modifier and Type Method Description voidTabularDataSupport. putAll(Map<?,?> t)Add all the values contained in the specified mapt to thisTabularDatainstance.Constructors injavax.management.openmbean with parameters of typeMap Constructor Description CompositeDataSupport(CompositeType compositeType,Map<String,?> items)Constructs aCompositeDataSupportinstance with the specifiedcompositeType, whose item names and corresponding values are given by the mappings in the mapitems.Uses ofMap injavax.management.relation
Methods injavax.management.relation that returnMap Modifier and Type Method Description Map<ObjectName,List<String>>RelationService. findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the MBeans associated to given one in a relation.Map<ObjectName,List<String>>RelationServiceMBean. findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the MBeans associated to given one in a relation.Map<String,List<String>>RelationService. findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the relations where a given MBean is referenced.Map<String,List<String>>RelationServiceMBean. findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the relations where a given MBean is referenced.Map<ObjectName,List<String>>Relation. getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationService. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationServiceMBean. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationSupport. getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.Uses ofMap injavax.management.remote
Methods injavax.management.remote that returnMap Modifier and Type Method Description Map<String,?>JMXConnectorServerMBean. getAttributes()The attributes for this connector server.Methods injavax.management.remote with parameters of typeMap Modifier and Type Method Description voidJMXConnector. connect(Map<String,?> env)Establishes the connection to the connector server.staticJMXConnectorJMXConnectorFactory. connect(JMXServiceURL serviceURL,Map<String,?> environment)Creates a connection to the connector server at the given address.staticJMXConnectorJMXConnectorFactory. newJMXConnector(JMXServiceURL serviceURL,Map<String,?> environment)Creates a connector client for the connector server at the given address.JMXConnectorJMXConnectorProvider. newJMXConnector(JMXServiceURL serviceURL,Map<String,?> environment)Creates a new connector client that is ready to connect to the connector server at the given address.staticJMXConnectorServerJMXConnectorServerFactory. newJMXConnectorServer(JMXServiceURL serviceURL,Map<String,?> environment,MBeanServer mbeanServer)Creates a connector server at the given address.JMXConnectorServerJMXConnectorServerProvider. newJMXConnectorServer(JMXServiceURL serviceURL,Map<String,?> environment,MBeanServer mbeanServer)Creates a new connector server at the given address.JMXConnectorJMXConnectorServer. toJMXConnector(Map<String,?> env)Returns a client stub for this connector server.JMXConnectorJMXConnectorServerMBean. toJMXConnector(Map<String,?> env)Returns a client stub for this connector server.Uses ofMap injavax.management.remote.rmi
Methods injavax.management.remote.rmi with parameters of typeMap Modifier and Type Method Description voidRMIConnector. connect(Map<String,?> environment)JMXConnectorRMIConnectorServer. toJMXConnector(Map<String,?> env)Returns a client stub for this connector server.Constructors injavax.management.remote.rmi with parameters of typeMap Constructor Description RMIConnectionImpl(RMIServerImpl rmiServer,String connectionId,ClassLoader defaultClassLoader,Subject subject,Map<String,?> env)Constructs a newRMIConnection.RMIConnector(JMXServiceURL url,Map<String,?> environment)Constructs anRMIConnectorthat will connect the RMI connector server with the given address.RMIConnector(RMIServer rmiServer,Map<String,?> environment)Constructs anRMIConnectorusing the given RMI stub.RMIConnectorServer(JMXServiceURL url,Map<String,?> environment)Makes anRMIConnectorServer.RMIConnectorServer(JMXServiceURL url,Map<String,?> environment,MBeanServer mbeanServer)Makes anRMIConnectorServerfor the given MBean server.RMIConnectorServer(JMXServiceURL url,Map<String,?> environment,RMIServerImpl rmiServerImpl,MBeanServer mbeanServer)Makes anRMIConnectorServerfor the given MBean server.RMIIIOPServerImpl(Map<String,?> env)Deprecated.RMIJRMPServerImpl(int port,RMIClientSocketFactory csf,RMIServerSocketFactory ssf,Map<String,?> env)Creates a newRMIServerobject that will be exported on the given port using the given socket factories.RMIServerImpl(Map<String,?> env)Constructs a newRMIServerImpl.Uses ofMap injavax.print.attribute.standard
Classes injavax.print.attribute.standard that implementMap Modifier and Type Class Description classPrinterStateReasonsClassPrinterStateReasonsis 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'sPrinterStateattribute.Constructors injavax.print.attribute.standard with parameters of typeMap Constructor Description PrinterStateReasons(Map<PrinterStateReason,Severity> map)Construct a new printer state reasons attribute that contains the samePrinterStateReason-to-Severitymappings as the given map.Uses ofMap injavax.script
Subinterfaces ofMap injavax.script Modifier and Type Interface Description interfaceBindingsA mapping of key/value pairs, all of whose keys areStrings.Classes injavax.script that implementMap Modifier and Type Class Description classSimpleBindingsA simple implementation of Bindings backed by aHashMapor some other specifiedMap.Methods injavax.script with parameters of typeMap Modifier and Type Method Description voidBindings. putAll(Map<? extendsString,? extendsObject> toMerge)Adds all the mappings in a givenMapto thisBindings.voidSimpleBindings. putAll(Map<? extendsString,? extendsObject> toMerge)putAllis implemented usingMap.putAll.Constructors injavax.script with parameters of typeMap Constructor Description SimpleBindings(Map<String,Object> m)Constructor uses an existingMapto store the values.Uses ofMap injavax.security.auth.login
Methods injavax.security.auth.login that returnMap Modifier and Type Method Description Map<String,?>AppConfigurationEntry. getOptions()Get the options configured for thisLoginModule.Constructors injavax.security.auth.login with parameters of typeMap Constructor Description AppConfigurationEntry(String loginModuleName,AppConfigurationEntry.LoginModuleControlFlag controlFlag,Map<String,?> options)Default constructor for this class.Uses ofMap injavax.security.auth.spi
Methods injavax.security.auth.spi with parameters of typeMap Modifier and Type Method Description voidLoginModule. initialize(Subject subject,CallbackHandler callbackHandler,Map<String,?> sharedState,Map<String,?> options)Initialize thisLoginModule.Uses ofMap injavax.security.auth.x500
Methods injavax.security.auth.x500 with parameters of typeMap Modifier and Type Method Description StringX500Principal. getName(String format,Map<String,String> oidMap)Returns a string representation of the X.500 distinguished name using the specified format.Constructors injavax.security.auth.x500 with parameters of typeMap Constructor Description X500Principal(String name,Map<String,String> keywordMap)Creates anX500Principalfrom a string representation of an X.500 distinguished name (ex: "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").Uses ofMap injavax.security.sasl
Methods injavax.security.sasl with parameters of typeMap Modifier and Type Method Description staticSaslClientSasl. createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String,?> props,CallbackHandler cbh)Creates aSaslClientusing the parameters supplied.SaslClientSaslClientFactory. createSaslClient(String[] mechanisms,String authorizationId,String protocol,String serverName,Map<String,?> props,CallbackHandler cbh)Creates a SaslClient using the parameters supplied.staticSaslServerSasl. createSaslServer(String mechanism,String protocol,String serverName,Map<String,?> props,CallbackHandler cbh)Creates aSaslServerfor the specified mechanism.SaslServerSaslServerFactory. createSaslServer(String mechanism,String protocol,String serverName,Map<String,?> props,CallbackHandler cbh)Creates aSaslServerusing the parameters supplied.String[]SaslClientFactory. getMechanismNames(Map<String,?> props)Returns an array of names of mechanisms that match the specified mechanism selection policies.String[]SaslServerFactory. getMechanismNames(Map<String,?> props)Returns an array of names of mechanisms that match the specified mechanism selection policies.Uses ofMap injavax.sound.midi
Methods injavax.sound.midi that returnMap Modifier and Type Method Description Map<String,Object>MidiFileFormat. properties()Obtain an unmodifiable map of properties.Constructors injavax.sound.midi with parameters of typeMap Constructor Description MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds,Map<String,Object> properties)Construct aMidiFileFormatwith a set of properties.Uses ofMap injavax.sound.sampled
Methods injavax.sound.sampled that returnMap Modifier and Type Method Description Map<String,Object>AudioFileFormat. properties()Obtain an unmodifiable map of properties.Map<String,Object>AudioFormat. properties()Obtain an unmodifiable map of properties.Constructors injavax.sound.sampled with parameters of typeMap Constructor Description AudioFileFormat(AudioFileFormat.Type type,AudioFormat format, int frameLength,Map<String,Object> properties)Construct an audio file format object with a set of defined properties.AudioFormat(AudioFormat.Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian,Map<String,Object> properties)Constructs anAudioFormatwith the given parameters.Uses ofMap injavax.sql
Methods injavax.sql that returnMap Modifier and Type Method Description Map<String,Class<?>>RowSet. getTypeMap()Retrieves theMapobject associated with thisRowSetobject, which specifies the custom mapping of SQL user-defined types, if any.Methods injavax.sql with parameters of typeMap Modifier and Type Method Description voidRowSet. setTypeMap(Map<String,Class<?>> map)Installs the givenjava.util.Mapobject as the default type map for thisRowSetobject.Uses ofMap injavax.sql.rowset
Methods injavax.sql.rowset that returnMap Modifier and Type Method Description Map<String,Class<?>>BaseRowSet. getTypeMap()Retrieves the type map associated with theConnectionobject for thisRowSetobject.Methods injavax.sql.rowset with parameters of typeMap Modifier and Type Method Description voidBaseRowSet. setTypeMap(Map<String,Class<?>> map)Installs the givenjava.util.Mapobject as the type map associated with theConnectionobject for thisRowSetobject.Uses ofMap injavax.sql.rowset.serial
Methods injavax.sql.rowset.serial with parameters of typeMap Modifier and Type Method Description ObjectSerialArray. getArray(long index, int count,Map<String,Class<?>> map)Returns a new array that is a copy of a slice of thisSerialArrayobject, starting with the element at the given index and containing the given number of consecutive elements.ObjectSerialArray. getArray(Map<String,Class<?>> map)Returns a new array that is a copy of thisSerialArrayobject, using the given type map for the custom mapping of each element when the elements are SQL UDTs.Object[]SerialStruct. getAttributes(Map<String,Class<?>> map)Retrieves the attributes for the SQL structured type that thisSerialStructrepresents as an array ofObjectvalues, using the given type map for custom mapping if appropriate.ObjectSerialRef. getObject(Map<String,Class<?>> map)Returns anObjectrepresenting the SQL structured type to which thisSerialRefobject refers.ResultSetSerialArray. getResultSet(long index, int count,Map<String,Class<?>> map)Retrieves a result set holding the elements of the subarray that starts at Retrieves aResultSetobject that contains a subarray of the elements in thisSerialArrayobject, starting at indexindex and containing up tocount successive elements.ResultSetSerialArray. getResultSet(Map<String,Class<?>> map)Retrieves aResultSetobject that contains all of the elements of the SQLARRAYvalue represented by thisSerialArrayobject.Constructors injavax.sql.rowset.serial with parameters of typeMap Constructor Description SerialArray(Array array,Map<String,Class<?>> map)Constructs a newSerialArrayobject from the givenArrayobject, using the given type map for the custom mapping of each element when the elements are SQL UDTs.SerialStruct(SQLData in,Map<String,Class<?>> map)Constructs aSerialStructobject from the givenSQLDataobject, using the given type map to custom map it to a class in the Java programming language.SerialStruct(Struct in,Map<String,Class<?>> map)Constructs aSerialStructobject from the givenStructobject, using the givenjava.util.Mapobject for custom mapping the SQL structured type or any of its attributes that are SQL structured types.SQLInputImpl(Object[] attributes,Map<String,Class<?>> map)Creates anSQLInputImplobject initialized with the given array of attributes and the given type map.SQLOutputImpl(Vector<?> attributes,Map<String,?> map)Creates a newSQLOutputImplobject initialized with the given vector of attributes and type map.Uses ofMap injavax.swing
Classes injavax.swing that implementMap Modifier and Type Class Description classUIDefaultsA table of defaults for Swing components.Uses ofMap injavax.xml.crypto.dsig.spec
Methods injavax.xml.crypto.dsig.spec that returnMap Modifier and Type Method Description Map<String,String>XPathFilterParameterSpec. getNamespaceMap()Returns a map of namespace prefixes.Map<String,String>XPathType. getNamespaceMap()Returns a map of namespace prefixes.Constructors injavax.xml.crypto.dsig.spec with parameters of typeMap Constructor Description XPathFilterParameterSpec(String xPath,Map<String,String> namespaceMap)Creates anXPathFilterParameterSpecwith the specified XPath expression and namespace map.XPathType(String expression,XPathType.Filter filter,Map<String,String> namespaceMap)Creates anXPathTypeinstance with the specified XPath expression, filter, and namespace map.Uses ofMap injdk.jfr
Methods injdk.jfr that returnMap Modifier and Type Method Description Map<String,String>Configuration. getSettings()Returns the settings that specifies how a recording is configured.Map<String,String>Recording. getSettings()Returns settings used by this recording.Methods injdk.jfr with parameters of typeMap Modifier and Type Method Description voidRecording. setSettings(Map<String,String> settings)Replaces all settings for this recording.Constructors injdk.jfr with parameters of typeMap Constructor Description AnnotationElement(Class<? extendsAnnotation> annotationType,Map<String,Object> values)Creates an annotation element to use for dynamically defined events.Recording(Map<String,String> settings)Uses ofMap injdk.jshell
Methods injdk.jshell with parameters of typeMap Modifier and Type Method Description JShell.BuilderJShell.Builder. executionEngine(ExecutionControlProvider executionControlProvider,Map<String,String> executionControlParameters)Sets the custom engine for execution.Uses ofMap injdk.jshell.execution
Methods injdk.jshell.execution that returnMap Modifier and Type Method Description Map<String,String>FailOverExecutionControlProvider. defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.Map<String,String>JdiExecutionControlProvider. defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.Map<String,String>LocalExecutionControlProvider. defaultParameters()Create and return the default parameter map forLocalExecutionControlProvider.Methods injdk.jshell.execution with parameters of typeMap Modifier and Type Method Description static voidUtil. forwardExecutionControlAndIO(ExecutionControl ec,InputStream inStream,OutputStream outStream,Map<String,Consumer<OutputStream>> outputStreamMap,Map<String,Consumer<InputStream>> inputStreamMap)Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.ExecutionControlFailOverExecutionControlProvider. generate(ExecutionEnv env,Map<String,String> parameters)Create and return a locally executingExecutionControlinstance.ExecutionControlLocalExecutionControlProvider. generate(ExecutionEnv env,Map<String,String> parameters)Create and return a locally executingExecutionControlinstance.staticExecutionControlUtil. remoteInputOutput(InputStream input,OutputStream output,Map<String,OutputStream> outputStreamMap,Map<String,InputStream> inputStreamMap,BiFunction<ObjectInput,ObjectOutput,ExecutionControl> factory)Creates an ExecutionControl for given packetized input and output.Constructors injdk.jshell.execution with parameters of typeMap Constructor Description JdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String,String> customConnectorArgs)Start the remote agent and establish a JDI connection to it.Uses ofMap injdk.jshell.spi
Methods injdk.jshell.spi that returnMap Modifier and Type Method Description defaultMap<String,String>ExecutionControlProvider. defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.Methods injdk.jshell.spi with parameters of typeMap Modifier and Type Method Description staticExecutionControlExecutionControl. generate(ExecutionEnv env,String name,Map<String,String> parameters)Search for a provider, then create and return theExecutionControlinstance.ExecutionControlExecutionControlProvider. generate(ExecutionEnv env,Map<String,String> parameters)Create and return theExecutionControlinstance.Uses ofMap injdk.jshell.tool
Methods injdk.jshell.tool with parameters of typeMap Modifier and Type Method Description JavaShellToolBuilderJavaShellToolBuilder. env(Map<String,String> vars)Set the source for environment variables.JavaShellToolBuilderJavaShellToolBuilder. persistence(Map<String,String> prefsMap)Set the storage mechanism for persistent information which includes input history and retained settings.Uses ofMap injdk.management.jfr
Methods injdk.management.jfr that returnMap Modifier and Type Method Description Map<String,String>FlightRecorderMXBean. getRecordingOptions(long recordingId)Returns a map that contains the options for the recording with the specified ID (for example, the destination file or time span to keep recorded data).Map<String,String>FlightRecorderMXBean. getRecordingSettings(long recordingId)Returns aMapthat contains the settings for the recording with the specified ID, (for example, the event thresholds)Map<String,String>ConfigurationInfo. getSettings()Returns the settings for the configuration associated with thisConfigurationInfo.Map<String,String>RecordingInfo. getSettings()Returns the settings for the recording associated with thisRecordingInfo.Methods injdk.management.jfr with parameters of typeMap Modifier and Type Method Description longFlightRecorderMXBean. openStream(long recordingId,Map<String,String> streamOptions)Opens a data stream for the recording with the specified ID, or0to get data irrespective of recording.voidFlightRecorderMXBean. setRecordingOptions(long recordingId,Map<String,String> options)Configures the recording options (for example, destination file and time span to keep data).voidFlightRecorderMXBean. setRecordingSettings(long recordingId,Map<String,String> settings)Sets and replaces all previous settings for the specified recording.Uses ofMap injdk.nashorn.api.scripting
Classes injdk.nashorn.api.scripting that implementMap Modifier and Type Class Description classScriptObjectMirrorDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.