Uses of Class
java.lang.Double
Packages that use Double
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
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.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Provides the open data types and Open MBean descriptor classes.
-
Uses of Double in java.lang
Modifier and TypeFieldDescriptionDouble.TYPETheClassinstance representing the primitive typedouble.Modifier and TypeMethodDescriptionDouble.resolveConstantDesc(MethodHandles.Lookup lookup) Resolves this instance as aConstantDesc, the result of which is the instance itself.static DoubleDouble.valueOf(double d) Returns aDoubleinstance representing the specifieddoublevalue.static DoubleReturns aDoubleobject holding thedoublevalue represented by the argument strings.Modifier and TypeMethodDescriptionDouble.describeConstable()Returns anOptionalcontaining the nominal descriptor for this instance, which is the instance itself. -
Uses of Double in java.util
Modifier and TypeMethodDescriptiondefault DoublePrimitiveIterator.OfDouble.next()Returns the next element in the iteration.Modifier and TypeMethodDescriptiondefault voidPrimitiveIterator.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 voidSpliterator.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 booleanSpliterator.OfDouble.tryAdvance(Consumer<? super Double> action) If a remaining element exists: performs the given action on it, returningtrue; else returnsfalse. -
Uses of Double in java.util.stream
Methods in java.util.stream that return types with arguments of type DoubleModifier and TypeMethodDescriptionCollectors.averagingDouble(ToDoubleFunction<? super T> mapper) Returns aCollectorthat produces the arithmetic mean of a double-valued function applied to the input elements.Collectors.averagingInt(ToIntFunction<? super T> mapper) Returns aCollectorthat produces the arithmetic mean of an integer-valued function applied to the input elements.Collectors.averagingLong(ToLongFunction<? super T> mapper) Returns aCollectorthat produces the arithmetic mean of a long-valued function applied to the input elements.DoubleStream.boxed()Returns aStreamconsisting of the elements of this stream, boxed toDouble.Collectors.summingDouble(ToDoubleFunction<? super T> mapper) Returns aCollectorthat 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 DoubleModifier and TypeFieldDescriptionstatic final SimpleType<Double> SimpleType.DOUBLETheSimpleTypeinstance describing values whose Java class name isjava.lang.Double.