AutoCloseable
, BaseStream<Double, DoubleStream>
Nested Classes
static interface
A mutable builder for a DoubleStream
.
static interface
Represents an operation that accepts a double
-valued argument and a DoubleConsumer, and returns no result.
boolean
Returns whether all elements of this stream match the provided predicate.
boolean
Returns whether any elements of this stream match the provided predicate.
Returns an OptionalDouble
describing the arithmetic mean of elements of this stream, or an empty optional if this stream is empty.
Returns a Stream
consisting of the elements of this stream, boxed to Double
.
Returns a builder for a DoubleStream
.
<R> R
Creates a lazily concatenated stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
long
Returns the count of elements in this stream.
Returns a stream consisting of the distinct elements of this stream.
Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.
Returns an empty sequential DoubleStream
.
Returns a stream consisting of the elements of this stream that match the given predicate.
Returns an
OptionalDouble
describing some element of the stream, or an empty
OptionalDouble
if the stream is empty.
Returns an
OptionalDouble
describing the first element of this stream, or an empty
OptionalDouble
if the stream is empty.
Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.
void
Performs an action for each element of this stream.
void
Performs an action for each element of this stream, guaranteeing that each element is processed in encounter order for streams that have a defined encounter order.
Returns an infinite sequential unordered stream where each element is generated by the provided DoubleSupplier
.
Returns a sequential ordered DoubleStream
produced by iterative application of the given next
function to an initial element, conditioned on satisfying the given hasNext
predicate.
Returns an infinite sequential ordered DoubleStream
produced by iterative application of a function f
to an initial element seed
, producing a Stream
consisting of seed
, f(seed)
, f(f(seed))
, etc.
Returns a stream consisting of the elements of this stream, truncated to be no longer than maxSize
in length.
Returns a stream consisting of the results of applying the given function to the elements of this stream.
Returns a stream consisting of the results of replacing each element of this stream with multiple elements, specifically zero or more elements.
Returns an IntStream
consisting of the results of applying the given function to the elements of this stream.
Returns a LongStream
consisting of the results of applying the given function to the elements of this stream.
Returns an object-valued Stream
consisting of the results of applying the given function to the elements of this stream.
Returns an OptionalDouble
describing the maximum element of this stream, or an empty OptionalDouble if this stream is empty.
Returns an OptionalDouble
describing the minimum element of this stream, or an empty OptionalDouble if this stream is empty.
boolean
Returns whether no elements of this stream match the provided predicate.
Returns a sequential DoubleStream
containing a single element.
Returns a sequential ordered stream whose elements are the specified values.
Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as elements are consumed from the resulting stream.
double
Performs a
reductionon the elements of this stream, using the provided identity value and an
associativeaccumulation function, and returns the reduced value.
Performs a
reductionon the elements of this stream, using an
associativeaccumulation function, and returns an
OptionalDouble
describing the reduced value, if any.
Returns a stream consisting of the remaining elements of this stream after discarding the first n
elements of the stream.
Returns a stream consisting of the elements of this stream in sorted order.
double
Returns the sum of elements in this stream.
Returns a DoubleSummaryStatistics
describing various summary data about the elements of this stream.
Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.
double[]
Returns an array containing the elements of this stream.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4