## Uses of Class
java.lang.Double

- Packages that use Double
  Package | Description
  --- | ---
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  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.stream | Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
  javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.

- - ### Uses of Double in java.lang

    Fields in java.lang with type parameters of type Double
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Class<Double>` | Double.`TYPE` | The `Class` instance representing the primitive type `double`.

    Methods in java.lang that return Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `Double` | Double.`resolveConstantDesc​(MethodHandles.Lookup lookup)` | Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
    `static Double` | Double.`valueOf​(double d)` | Returns a `Double` instance representing the specified `double` value.
    `static Double` | Double.`valueOf​(String s)` | Returns a `Double` object holding the `double` value represented by the argument string `s`.

    Methods in java.lang that return types with arguments of type Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `Optional<Double>` | Double.`describeConstable()` | Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.

    Methods in java.lang with parameters of type Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | Double.`compareTo​(Double anotherDouble)` | Compares two `Double` objects numerically.

  - ### Uses of Double in java.util

    Methods in java.util that return Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Double` | PrimitiveIterator.OfDouble.`next()` | Returns the next element in the iteration.

    Method parameters in java.util with type arguments of type Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | PrimitiveIterator.OfDouble.`forEachRemaining​(Consumer<? super Double> action)` | Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
    `default void` | Spliterator.OfDouble.`forEachRemaining​(Consumer<? super Double> action)` | Performs the given action for each remaining element, sequentially in the current thread, until all elements have been processed or the action throws an exception.
    `default boolean` | Spliterator.OfDouble.`tryAdvance​(Consumer<? super Double> action)` | If a remaining element exists, performs the given action on it, returning `true`; else returns `false`.

  - ### Uses of Double in java.util.stream

    Methods in java.util.stream that return types with arguments of type Double
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <T> Collector<T,​?,​Double>` | Collectors.`averagingDouble​(ToDoubleFunction<? super T> mapper)` | Returns a `Collector` that produces the arithmetic mean of a double-valued function applied to the input elements.
    `static <T> Collector<T,​?,​Double>` | Collectors.`averagingInt​(ToIntFunction<? super T> mapper)` | Returns a `Collector` that produces the arithmetic mean of an integer-valued function applied to the input elements.
    `static <T> Collector<T,​?,​Double>` | Collectors.`averagingLong​(ToLongFunction<? super T> mapper)` | Returns a `Collector` that produces the arithmetic mean of a long-valued function applied to the input elements.
    `Stream<Double>` | DoubleStream.`boxed()` | Returns a `Stream` consisting of the elements of this stream, boxed to `Double`.
    `static <T> Collector<T,​?,​Double>` | Collectors.`summingDouble​(ToDoubleFunction<? super T> mapper)` | Returns a `Collector` that produces the sum of a double-valued function applied to the input elements.

  - ### Uses of Double in javax.management.openmbean

    Fields in javax.management.openmbean with type parameters of type Double
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SimpleType<Double>` | SimpleType.`DOUBLE` | The `SimpleType` instance describing values whose Java class name is `java.lang.Double`.