IntStreamEx.append(int... values)
Returns a new IntStreamEx
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.
Returns a stream consisting of the elements of this stream that greater
than or equal to the specified value.
Returns a stream consisting of the elements of this stream that less than
or equal to the specified value.
IntStreamEx.constant(int value,
long length)
Returns a sequential unordered IntStreamEx
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 an
IntStreamEx
consisting of the elements of given array
corresponding to the indices which appear in this stream.
Returns an empty sequential IntStreamEx
.
Returns an
IntStreamEx
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
IntStreamEx
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 IntSupplier
.
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 IntStreamEx
from 0 (inclusive) to
Integer.MAX_VALUE
(exclusive) by an incremental step of 1
.
Returns a sequential ordered IntStreamEx
produced by iterative
application of a function to an initial element, conditioned on
satisfying the supplied predicate.
Returns an infinite sequential ordered IntStreamEx
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.
IntStreamEx.less(int value)
Returns a stream consisting of the elements of this stream that strictly
less than the specified value.
IntStreamEx.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.
IntStreamEx.of(byte... elements)
Returns a sequential ordered IntStreamEx
whose elements are the
specified values casted to int.
IntStreamEx.of(byte[] array,
int startInclusive,
int endExclusive)
Returns a sequential
IntStreamEx
with the specified range of the
specified array as its source.
IntStreamEx.of(char... elements)
Returns a sequential ordered IntStreamEx
whose elements are the
specified values casted to int.
IntStreamEx.of(char[] array,
int startInclusive,
int endExclusive)
Returns a sequential
IntStreamEx
with the specified range of the
specified array as its source.
IntStreamEx.of(int element)
Returns a sequential IntStreamEx
containing a single element.
IntStreamEx.of(int... elements)
Returns a sequential ordered IntStreamEx
whose elements are the
specified values.
IntStreamEx.of(int[] array,
int startInclusive,
int endExclusive)
Returns a sequential
IntStreamEx
with the specified range of the
specified array as its source.
IntStreamEx.of(short... elements)
Returns a sequential ordered IntStreamEx
whose elements are the
specified values casted to int.
IntStreamEx.of(short[] array,
int startInclusive,
int endExclusive)
Returns a sequential
IntStreamEx
with the specified range of the
specified array as its source.
Returns a sequential ordered
IntStreamEx
backed by the content of
given
InputStream
.
Returns a sequential ordered IntStreamEx
whose elements are the
unboxed elements of supplied array.
Returns a sequential ordered
IntStreamEx
whose elements are the
values in the supplied
IntBuffer
.
Returns an
IntStreamEx
of indices for which the specified
BitSet
contains a bit in the set state.
Returns a sequential ordered IntStreamEx
whose elements are the
unboxed elements of supplied collection.
Returns a sequential
IntStreamEx
containing an
OptionalInt
value, if present, otherwise returns an empty
IntStreamEx
.
Returns an effectively unlimited stream of pseudorandom
int
values produced by given
Random
object.
IntStreamEx.of(Random random,
int randomNumberOrigin,
int randomNumberBound)
Returns an effectively unlimited stream of pseudorandom int
values, each conforming to the given origin (inclusive) and bound
(exclusive).
IntStreamEx.of(Random random,
long streamSize)
Returns a stream producing the given streamSize
number of
pseudorandom int
values.
IntStreamEx.of(Random random,
long streamSize,
int randomNumberOrigin,
int randomNumberBound)
Returns a stream producing the given streamSize
number of
pseudorandom int
values, each conforming to the given origin
(inclusive) and bound (exclusive).
Returns an
IntStreamEx
object which wraps given
IntStream
.
Returns an
IntStreamEx
of
int
zero-extending the
char
values from the supplied
CharSequence
.
Returns an
IntStreamEx
of code point values from the supplied
CharSequence
.
Returns a sequential ordered IntStreamEx
containing all the
indices of supplied array.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied array elements which match given predicate.
Returns a sequential ordered IntStreamEx
containing all the
indices of supplied array.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied array elements which match given predicate.
Returns a sequential ordered IntStreamEx
containing all the
indices of supplied array.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied array elements which match given predicate.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied list.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied list elements which match given predicate.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied array.
Returns a sequential ordered IntStreamEx
containing all the
indices of the supplied array elements which match given predicate.
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.
Returns a new IntStreamEx
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.
IntStreamEx.range(int endExclusive)
Returns a sequential ordered IntStreamEx
from 0 (inclusive) to
endExclusive
(exclusive) by an incremental step of 1
.
IntStreamEx.range(int startInclusive,
int endExclusive)
Returns a sequential ordered IntStreamEx
from
startInclusive
(inclusive) to endExclusive
(exclusive) by
an incremental step of 1
.
IntStreamEx.range(int startInclusive,
int endExclusive,
int step)
Returns a sequential ordered IntStreamEx
from
startInclusive
(inclusive) to endExclusive
(exclusive) by
the specified incremental step.
IntStreamEx.rangeClosed(int startInclusive,
int endInclusive)
Returns a sequential ordered IntStreamEx
from
startInclusive
(inclusive) to endInclusive
(inclusive) by
an incremental step of 1
.
IntStreamEx.rangeClosed(int startInclusive,
int endInclusive,
int step)
Returns a sequential ordered IntStreamEx
from
startInclusive
(inclusive) to endInclusive
(inclusive) by
the specified incremental step.
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.
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.
IntStreamEx.IntEmitter.stream()
Returns the stream which covers all the elements emitted by this
emitter.
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 stream consisting of the elements of this stream that don't
equal to the given value.
Returns a stream consisting of the elements of this stream that don't
equal to any of the supplied values.
Returns a sequential IntStreamEx
containing the results of
applying the given function to the corresponding pairs of values in given
two arrays.