DoubleStreamEx.append(double... values)
Returns a new DoubleStreamEx
which is a concatenation of this
stream and the stream containing supplied values
Creates a lazily concatenated stream whose elements are all the elements
of this stream followed by all the elements of the other stream.
DoubleStreamEx.atLeast(double value)
Returns a stream consisting of the elements of this stream that greater
than or equal to the specified value.
DoubleStreamEx.atMost(double value)
Returns a stream consisting of the elements of this stream that less than
or equal to the specified value.
DoubleStreamEx.constant(double value,
long length)
Returns a sequential unordered DoubleStreamEx
of given length
which elements are equal to supplied value.
Returns a stream consisting of all elements from this stream starting
from the first element which does not match the given predicate.
Returns a
DoubleStreamEx
consisting of the elements of given
array corresponding to the indices which appear in this stream.
Returns an empty sequential DoubleStreamEx
.
Returns a
DoubleStreamEx
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.
Returns a
DoubleStreamEx
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.
Returns an infinite sequential unordered stream where each element is
generated by the provided DoubleSupplier
.
DoubleStreamEx.greater(double value)
Returns a stream consisting of the elements of this stream that strictly
greater than the specified value.
Returns a new stream containing all the elements of the original stream interspersed with
given delimiter.
Returns a sequential ordered DoubleStreamEx
produced by iterative
application of a function to an initial element, conditioned on
satisfying the supplied predicate.
Returns an infinite sequential ordered DoubleStreamEx
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.
DoubleStreamEx.less(double value)
Returns a stream consisting of the elements of this stream that strictly
less than the specified value.
DoubleStreamEx.limit(long maxSize)
Returns a stream where the first element is the replaced with the result
of applying the given function while the other elements are left intact.
Returns a stream where the last element is the replaced with the result
of applying the given function while the other elements are left intact.
Returns a
DoubleStreamEx
where every element of this stream is replaced by elements produced
by a mapper function.
DoubleStreamEx.of(double element)
Returns a sequential DoubleStreamEx
containing a single element.
DoubleStreamEx.of(double... elements)
Returns a sequential ordered DoubleStreamEx
whose elements are
the specified values.
DoubleStreamEx.of(double[] array,
int startInclusive,
int endExclusive)
Returns a sequential
DoubleStreamEx
with the specified range of
the specified array as its source.
DoubleStreamEx.of(float... elements)
Returns a sequential ordered DoubleStreamEx
whose elements are
the specified float values casted to double.
DoubleStreamEx.of(float[] array,
int startInclusive,
int endExclusive)
Returns a sequential
DoubleStreamEx
with the specified range of
the specified array as its source.
Returns a sequential ordered DoubleStreamEx
whose elements are
the unboxed elements of supplied array.
Returns a sequential ordered
DoubleStreamEx
whose elements are
the values in the supplied
DoubleBuffer
.
Returns a sequential ordered DoubleStreamEx
whose elements are
the unboxed elements of supplied collection.
Returns a sequential
DoubleStreamEx
containing an
OptionalDouble
value, if present, otherwise returns an empty
DoubleStreamEx
.
Returns an effectively unlimited stream of pseudorandom
double
values, each between zero (inclusive) and one (exclusive) produced by
given
Random
object.
DoubleStreamEx.of(Random random,
double randomNumberOrigin,
double randomNumberBound)
Returns an effectively unlimited stream of pseudorandom
double
values, each conforming to the given origin (inclusive) and bound
(exclusive) produced by given
Random
object.
DoubleStreamEx.of(Random random,
long streamSize)
Returns a stream producing the given
streamSize
number of
pseudorandom
double
values, each between zero (inclusive) and one
(exclusive) produced by given
Random
object.
DoubleStreamEx.of(Random random,
long streamSize,
double randomNumberOrigin,
double randomNumberBound)
Returns a stream producing the given
streamSize
number of
pseudorandom
double
values, each conforming to the given origin
(inclusive) and bound (exclusive) produced by given
Random
object.
Returns a
DoubleStreamEx
object which wraps given
DoubleStream
.
Returns a stream consisting of the results of applying the given function
to the every adjacent pair of elements of this stream.
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on the first stream element when it's
consumed from the resulting stream.
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on the last stream element when it's
consumed from the resulting stream.
Returns a stream containing cumulative results of applying the
accumulation function going left to right.
DoubleStreamEx.prepend(double... values)
Returns a new DoubleStreamEx
which is a concatenation of the
stream containing supplied values and this stream
Creates a lazily concatenated stream whose elements are all the elements
of the other stream followed by all the elements of this stream.
Return an ordered stream produced by consecutive calls of the supplied
producer until it returns false.
Returns a stream consisting of the elements of this stream that don't
match the given predicate.
Returns a stream consisting of the elements of this stream in reverse
sorted order.
DoubleStreamEx.skip(long n)
Returns a stream consisting of the elements of this stream sorted
according to the given comparator.
Returns a stream consisting of the elements of this stream, sorted
according to the natural order of the keys extracted by provided
function.
Returns a stream consisting of the elements of this stream, sorted
according to the double values extracted by provided function.
Returns a stream consisting of the elements of this stream, sorted
according to the int values extracted by provided function.
Returns a stream consisting of the elements of this stream, sorted
according to the long values extracted by provided function.
DoubleStreamEx.DoubleEmitter.stream()
Returns the stream which covers all the elements emitted by this
emitter.
Internals.DoubleBuffer.stream()
Returns a stream consisting of all elements from this stream until the
first element which does not match the given predicate is found.
Returns a stream consisting of all elements from this stream until the
first element which does not match the given predicate is found
(including the first mismatching element).
Returns a sequential DoubleStreamEx
containing the results of
applying the given function to the corresponding pairs of values in given
two arrays.