## Uses of Class
java.lang.SuppressWarnings

Packages that use SuppressWarnings
Package | Description
--- | ---
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.concurrent | Utility classes commonly useful in concurrent programming.
javax.management | Provides the core classes for the Java Management Extensions.
javax.management.modelmbean | Provides the definition of the ModelMBean classes.
javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.
javax.management.relation | Provides the definition of the Relation Service.
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 SuppressWarnings in java.util

Fields in java.util with annotations of type SuppressWarnings
Modifier and Type | Field and Description
--- | ---
`static List` | Collections.`EMPTY_LIST` The empty list (immutable).
`static Map` | Collections.`EMPTY_MAP` The empty map (immutable).
`static Set` | Collections.`EMPTY_SET` The empty set (immutable).

Methods in java.util with annotations of type SuppressWarnings
Modifier and Type | Method and Description
--- | ---
`static <T> List<T>` | Collections.`emptyList()` Returns the empty list (immutable).
`static <K,V> Map<K,V>` | Collections.`emptyMap()` Returns the empty map (immutable).
`static <T> Set<T>` | Collections.`emptySet()` Returns the empty set (immutable).
`<T> T[]` | Vector.`toArray(T[] a)` Returns an array containing all of the elements in this Vector in the correct order; the runtime type of the returned array is that of the specified array.
`<T> T[]` | ArrayList.`toArray(T[] a)` Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.

### Uses of SuppressWarnings in java.util.concurrent

Methods in java.util.concurrent with annotations of type SuppressWarnings
Modifier and Type | Method and Description
--- | ---
`<T> T[]` | CopyOnWriteArrayList.`toArray(T[] a)` Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.

Constructors in java.util.concurrent with annotations of type SuppressWarnings
Constructor and Description
`ConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel)` Creates a new, empty map with the specified initial capacity, load factor and concurrency level.

### Uses of SuppressWarnings in javax.management

Classes in javax.management with annotations of type SuppressWarnings
Modifier and Type | Class and Description
--- | ---
`class` | `MBeanAttributeInfo` Describes an MBean attribute exposed for management.
`class` | `Notification` The Notification class represents a notification emitted by an MBean.
`class` | `ObjectName` Represents the object name of an MBean, or a pattern that can match the names of several MBeans.

Methods in javax.management with annotations of type SuppressWarnings
Modifier and Type | Method and Description
--- | ---
`List<Attribute>` | AttributeList.`asList()` Return a view of this list as a `List<Attribute>`.

### Uses of SuppressWarnings in javax.management.modelmbean

Classes in javax.management.modelmbean with annotations of type SuppressWarnings
Modifier and Type | Class and Description
--- | ---
`class` | `DescriptorSupport` This class represents the metadata set for a ModelMBean element.
`class` | `InvalidTargetObjectTypeException` Exception thrown when an invalid target object type is specified.
`class` | `ModelMBeanAttributeInfo` The ModelMBeanAttributeInfo object describes an attribute of the ModelMBean.
`class` | `ModelMBeanConstructorInfo` The ModelMBeanConstructorInfo object describes a constructor of the ModelMBean.
`class` | `ModelMBeanInfoSupport` This class represents the meta data for ModelMBeans.
`class` | `ModelMBeanNotificationInfo` The ModelMBeanNotificationInfo object describes a notification emitted by a ModelMBean.
`class` | `ModelMBeanOperationInfo` The ModelMBeanOperationInfo object describes a management operation of the ModelMBean.
`class` | `XMLParseException` This exception is thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects.

### Uses of SuppressWarnings in javax.management.openmbean

Methods in javax.management.openmbean with annotations of type SuppressWarnings
Modifier and Type | Method and Description
--- | ---
`Set<Map.Entry<Object,Object>>` | TabularDataSupport.`entrySet()` Returns a collection view of the index to row mappings contained in this `TabularDataSupport` instance.
`static <T> ArrayType<T>` | ArrayType.`getPrimitiveArrayType(Class<T> arrayClass)` Create an `ArrayType` instance in a type-safe manner.
`Collection<Object>` | TabularDataSupport.`values()` Returns a collection view of the rows contained in this `TabularDataSupport` instance.

### Uses of SuppressWarnings in javax.management.relation

Classes in javax.management.relation with annotations of type SuppressWarnings
Modifier and Type | Class and Description
--- | ---
`class` | `MBeanServerNotificationFilter` Filter for `MBeanServerNotification`.
`class` | `RelationNotification` A notification of a change in the Relation Service.
`class` | `RelationTypeSupport` A RelationTypeSupport object implements the RelationType interface.
`class` | `Role` Represents a role: includes a role name and referenced MBeans (via their ObjectNames).
`class` | `RoleInfo` A RoleInfo object summarises a role in a relation type.
`class` | `RoleResult` Represents the result of a multiple access to several roles of a relation (either for reading or writing).
`class` | `RoleUnresolved` Represents an unresolved role: a role not retrieved from a relation due to a problem.

Methods in javax.management.relation with annotations of type SuppressWarnings
Modifier and Type | Method and Description
--- | ---
`List<RoleUnresolved>` | RoleUnresolvedList.`asList()` Return a view of this list as a `List<RoleUnresolved>`.
`List<Role>` | RoleList.`asList()` Return a view of this list as a `List<Role>`.

### Uses of SuppressWarnings in javax.swing

Classes in javax.swing with annotations of type SuppressWarnings
Modifier and Type | Class and Description
--- | ---
`class` | `TransferHandler` This class is used to handle the transfer of a `Transferable` to and from Swing components.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.