| Package | Description | 
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| 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.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. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Class<Double> | Double. TYPEThe  Classinstance representing the primitive typedouble. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Double | Double. valueOf(double d)Returns a  Doubleinstance representing the specifieddoublevalue. | 
| static Double | Double. valueOf(String s)Returns a  Doubleobject holding thedoublevalue represented by the argument strings. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | Double. compareTo(Double anotherDouble)Compares two  Doubleobjects numerically. | 
| Modifier and Type | Method and Description | 
|---|---|
| default Double | PrimitiveIterator.OfDouble. next()Returns the next element in the iteration. | 
| Modifier and Type | Method and 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 returnsfalse. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Collector<T,?,Double> | Collectors. averagingDouble(ToDoubleFunction<? super T> mapper)Returns a  Collectorthat 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  Collectorthat 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  Collectorthat produces the arithmetic mean of a long-valued
 function applied to the input elements. | 
| Stream<Double> | DoubleStream. boxed()Returns a  Streamconsisting of the elements of this stream,
 boxed toDouble. | 
| static <T> Collector<T,?,Double> | Collectors. summingDouble(ToDoubleFunction<? super T> mapper)Returns a  Collectorthat produces the sum of a double-valued
 function applied to the input elements. | 
| Modifier and Type | Field and Description | 
|---|---|
| static SimpleType<Double> | SimpleType. DOUBLEThe  SimpleTypeinstance describing values whose
 Java class name isjava.lang.Double. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.