IntStreamEx |
IntStreamEx.append(int... values) |
Returns a new IntStreamEx which is a concatenation of this stream
and the stream containing supplied values
|
IntStreamEx |
IntStreamEx.append(java.util.stream.IntStream other) |
Creates a lazily concatenated stream whose elements are all the elements
of this stream followed by all the elements of the other stream.
|
IntStreamEx |
IntStreamEx.atLeast(int value) |
Returns a stream consisting of the elements of this stream that greater
than or equal to the specified value.
|
IntStreamEx |
IntStreamEx.atMost(int value) |
Returns a stream consisting of the elements of this stream that less than
or equal to the specified value.
|
(package private) IntStreamEx |
Java9Specific.callWhile(IntStreamEx stream,
java.util.function.IntPredicate predicate,
boolean drop) |
|
(package private) IntStreamEx |
VersionSpecific.callWhile(IntStreamEx stream,
java.util.function.IntPredicate predicate,
boolean drop) |
|
static IntStreamEx |
IntStreamEx.constant(int value,
long length) |
Returns a sequential unordered IntStreamEx of given length which
elements are equal to supplied value.
|
(package private) IntStreamEx |
IntStreamEx.delegate(java.util.Spliterator.OfInt spliterator) |
|
IntStreamEx |
IntStreamEx.distinct() |
|
IntStreamEx |
IntStreamEx.dropWhile(java.util.function.IntPredicate predicate) |
Returns a stream consisting of all elements from this stream starting
from the first element which does not match the given predicate.
|
IntStreamEx |
IntStreamEx.elements(int[] array) |
Returns an IntStreamEx consisting of the elements of given array
corresponding to the indices which appear in this stream.
|
static IntStreamEx |
IntStreamEx.empty() |
Returns an empty sequential IntStreamEx .
|
IntStreamEx |
IntStreamEx.filter(java.util.function.IntPredicate predicate) |
|
IntStreamEx |
IntStreamEx.flatMap(java.util.function.IntFunction<? extends java.util.stream.IntStream> mapper) |
|
IntStreamEx |
AbstractStreamEx.flatMapToInt(java.util.function.Function<? super T,? extends java.util.stream.IntStream> mapper) |
|
IntStreamEx |
DoubleStreamEx.flatMapToInt(java.util.function.DoubleFunction<? extends java.util.stream.IntStream> mapper) |
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.
|
IntStreamEx |
LongStreamEx.flatMapToInt(java.util.function.LongFunction<? extends java.util.stream.IntStream> mapper) |
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.
|
static IntStreamEx |
IntStreamEx.generate(java.util.function.IntSupplier s) |
Returns an infinite sequential unordered stream where each element is
generated by the provided IntSupplier .
|
IntStreamEx |
IntStreamEx.greater(int value) |
Returns a stream consisting of the elements of this stream that strictly
greater than the specified value.
|
IntStreamEx |
IntStreamEx.intersperse(int delimiter) |
Returns a new stream containing all the elements of the original stream interspersed with
given delimiter.
|
static IntStreamEx |
IntStreamEx.ints() |
Returns a sequential ordered IntStreamEx from 0 (inclusive) to
Integer.MAX_VALUE (exclusive) by an incremental step of 1
.
|
static IntStreamEx |
IntStreamEx.iterate(int seed,
java.util.function.IntPredicate predicate,
java.util.function.IntUnaryOperator f) |
Returns a sequential ordered IntStreamEx produced by iterative
application of a function to an initial element, conditioned on
satisfying the supplied predicate.
|
static IntStreamEx |
IntStreamEx.iterate(int seed,
java.util.function.IntUnaryOperator f) |
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 |
IntStreamEx.less(int value) |
Returns a stream consisting of the elements of this stream that strictly
less than the specified value.
|
IntStreamEx |
IntStreamEx.limit(long maxSize) |
|
IntStreamEx |
IntStreamEx.map(java.util.function.IntUnaryOperator mapper) |
|
IntStreamEx |
IntStreamEx.mapFirst(java.util.function.IntUnaryOperator mapper) |
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.
|
IntStreamEx |
IntStreamEx.mapLast(java.util.function.IntUnaryOperator mapper) |
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 |
AbstractStreamEx.mapToInt(java.util.function.ToIntFunction<? super T> mapper) |
|
IntStreamEx |
DoubleStreamEx.mapToInt(java.util.function.DoubleToIntFunction mapper) |
|
IntStreamEx |
LongStreamEx.mapToInt(java.util.function.LongToIntFunction mapper) |
|
static IntStreamEx |
IntStreamEx.of(byte... elements) |
Returns a sequential ordered IntStreamEx whose elements are the
specified values casted to int.
|
static IntStreamEx |
IntStreamEx.of(byte[] array,
int startInclusive,
int endExclusive) |
Returns a sequential IntStreamEx with the specified range of the
specified array as its source.
|
static IntStreamEx |
IntStreamEx.of(char... elements) |
Returns a sequential ordered IntStreamEx whose elements are the
specified values casted to int.
|
static IntStreamEx |
IntStreamEx.of(char[] array,
int startInclusive,
int endExclusive) |
Returns a sequential IntStreamEx with the specified range of the
specified array as its source.
|
static IntStreamEx |
IntStreamEx.of(int element) |
Returns a sequential IntStreamEx containing a single element.
|
static IntStreamEx |
IntStreamEx.of(int... elements) |
Returns a sequential ordered IntStreamEx whose elements are the
specified values.
|
static IntStreamEx |
IntStreamEx.of(int[] array,
int startInclusive,
int endExclusive) |
Returns a sequential IntStreamEx with the specified range of the
specified array as its source.
|
static IntStreamEx |
IntStreamEx.of(short... elements) |
Returns a sequential ordered IntStreamEx whose elements are the
specified values casted to int.
|
static IntStreamEx |
IntStreamEx.of(short[] array,
int startInclusive,
int endExclusive) |
Returns a sequential IntStreamEx with the specified range of the
specified array as its source.
|
static IntStreamEx |
IntStreamEx.of(java.io.InputStream is) |
Returns a sequential ordered IntStreamEx backed by the content of
given InputStream .
|
static IntStreamEx |
IntStreamEx.of(java.lang.Integer[] array) |
Returns a sequential ordered IntStreamEx whose elements are the
unboxed elements of supplied array.
|
static IntStreamEx |
IntStreamEx.of(java.nio.IntBuffer buf) |
Returns a sequential ordered IntStreamEx whose elements are the
values in the supplied IntBuffer .
|
static IntStreamEx |
IntStreamEx.of(java.util.BitSet bitSet) |
Returns an IntStreamEx of indices for which the specified
BitSet contains a bit in the set state.
|
static IntStreamEx |
IntStreamEx.of(java.util.Collection<java.lang.Integer> collection) |
Returns a sequential ordered IntStreamEx whose elements are the
unboxed elements of supplied collection.
|
static IntStreamEx |
IntStreamEx.of(java.util.OptionalInt optional) |
Returns a sequential IntStreamEx containing an
OptionalInt value, if present, otherwise returns an empty
IntStreamEx .
|
static IntStreamEx |
IntStreamEx.of(java.util.PrimitiveIterator.OfInt iterator) |
Returns a sequential, ordered IntStreamEx created from given
PrimitiveIterator.OfInt .
|
static IntStreamEx |
IntStreamEx.of(java.util.Random random) |
Returns an effectively unlimited stream of pseudorandom int
values produced by given Random object.
|
static IntStreamEx |
IntStreamEx.of(java.util.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).
|
static IntStreamEx |
IntStreamEx.of(java.util.Random random,
long streamSize) |
Returns a stream producing the given streamSize number of
pseudorandom int values.
|
static IntStreamEx |
IntStreamEx.of(java.util.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).
|
static IntStreamEx |
IntStreamEx.of(java.util.Spliterator.OfInt spliterator) |
Returns a sequential IntStreamEx created from given
Spliterator.OfInt .
|
static IntStreamEx |
IntStreamEx.of(java.util.stream.IntStream stream) |
Returns an IntStreamEx object which wraps given IntStream
.
|
static IntStreamEx |
IntStreamEx.ofChars(java.lang.CharSequence seq) |
Returns an IntStreamEx of int zero-extending the
char values from the supplied CharSequence .
|
static IntStreamEx |
IntStreamEx.ofCodePoints(java.lang.CharSequence seq) |
Returns an IntStreamEx of code point values from the supplied
CharSequence .
|
static IntStreamEx |
IntStreamEx.ofIndices(double[] array) |
Returns a sequential ordered IntStreamEx containing all the
indices of supplied array.
|
static IntStreamEx |
IntStreamEx.ofIndices(double[] array,
java.util.function.DoublePredicate predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array elements which match given predicate.
|
static IntStreamEx |
IntStreamEx.ofIndices(int[] array) |
Returns a sequential ordered IntStreamEx containing all the
indices of supplied array.
|
static IntStreamEx |
IntStreamEx.ofIndices(int[] array,
java.util.function.IntPredicate predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array elements which match given predicate.
|
static IntStreamEx |
IntStreamEx.ofIndices(long[] array) |
Returns a sequential ordered IntStreamEx containing all the
indices of supplied array.
|
static IntStreamEx |
IntStreamEx.ofIndices(long[] array,
java.util.function.LongPredicate predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array elements which match given predicate.
|
static <T> IntStreamEx |
IntStreamEx.ofIndices(java.util.List<T> list) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied list.
|
static <T> IntStreamEx |
IntStreamEx.ofIndices(java.util.List<T> list,
java.util.function.Predicate<T> predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied list elements which match given predicate.
|
static <T> IntStreamEx |
IntStreamEx.ofIndices(T[] array) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array.
|
static <T> IntStreamEx |
IntStreamEx.ofIndices(T[] array,
java.util.function.Predicate<T> predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array elements which match given predicate.
|
IntStreamEx |
IntStreamEx.onClose(java.lang.Runnable closeHandler) |
|
IntStreamEx |
IntStreamEx.pairMap(java.util.function.IntBinaryOperator mapper) |
Returns a stream consisting of the results of applying the given function
to the every adjacent pair of elements of this stream.
|
IntStreamEx |
IntStreamEx.parallel() |
|
IntStreamEx |
IntStreamEx.parallel(java.util.concurrent.ForkJoinPool fjp) |
|
IntStreamEx |
IntStreamEx.peek(java.util.function.IntConsumer action) |
|
IntStreamEx |
IntStreamEx.peekFirst(java.util.function.IntConsumer action) |
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.
|
IntStreamEx |
IntStreamEx.peekLast(java.util.function.IntConsumer action) |
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.
|
IntStreamEx |
IntStreamEx.prefix(java.util.function.IntBinaryOperator op) |
Returns a stream containing cumulative results of applying the
accumulation function going left to right.
|
IntStreamEx |
IntStreamEx.prepend(int... values) |
Returns a new IntStreamEx which is a concatenation of the stream
containing supplied values and this stream
|
IntStreamEx |
IntStreamEx.prepend(java.util.stream.IntStream other) |
Creates a lazily concatenated stream whose elements are all the elements
of the other stream followed by all the elements of this stream.
|
static IntStreamEx |
IntStreamEx.produce(java.util.function.Predicate<java.util.function.IntConsumer> producer) |
Return an ordered stream produced by consecutive calls of the supplied
producer until it returns false.
|
static IntStreamEx |
IntStreamEx.range(int endExclusive) |
Returns a sequential ordered IntStreamEx from 0 (inclusive) to
endExclusive (exclusive) by an incremental step of 1 .
|
static IntStreamEx |
IntStreamEx.range(int startInclusive,
int endExclusive) |
Returns a sequential ordered IntStreamEx from
startInclusive (inclusive) to endExclusive (exclusive) by
an incremental step of 1 .
|
static IntStreamEx |
IntStreamEx.range(int startInclusive,
int endExclusive,
int step) |
Returns a sequential ordered IntStreamEx from
startInclusive (inclusive) to endExclusive (exclusive) by
the specified incremental step.
|
static IntStreamEx |
IntStreamEx.rangeClosed(int startInclusive,
int endInclusive) |
Returns a sequential ordered IntStreamEx from
startInclusive (inclusive) to endInclusive (inclusive) by
an incremental step of 1 .
|
static IntStreamEx |
IntStreamEx.rangeClosed(int startInclusive,
int endInclusive,
int step) |
Returns a sequential ordered IntStreamEx from
startInclusive (inclusive) to endInclusive (inclusive) by
the specified incremental step.
|
IntStreamEx |
IntStreamEx.remove(java.util.function.IntPredicate predicate) |
Returns a stream consisting of the elements of this stream that don't
match the given predicate.
|
IntStreamEx |
IntStreamEx.reverseSorted() |
Returns a stream consisting of the elements of this stream in reverse
sorted order.
|
private static IntStreamEx |
IntStreamEx.seq(java.util.stream.IntStream stream) |
|
IntStreamEx |
IntStreamEx.sequential() |
|
IntStreamEx |
IntStreamEx.skip(long n) |
|
IntStreamEx |
IntStreamEx.sorted() |
|
IntStreamEx |
IntStreamEx.sorted(java.util.Comparator<java.lang.Integer> comparator) |
Returns a stream consisting of the elements of this stream sorted
according to the given comparator.
|
<V extends java.lang.Comparable<? super V>> IntStreamEx |
IntStreamEx.sortedBy(java.util.function.IntFunction<V> keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the natural order of the keys extracted by provided
function.
|
IntStreamEx |
IntStreamEx.sortedByDouble(java.util.function.IntToDoubleFunction keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the double values extracted by provided function.
|
IntStreamEx |
IntStreamEx.sortedByInt(java.util.function.IntUnaryOperator keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the int values extracted by provided function.
|
IntStreamEx |
IntStreamEx.sortedByLong(java.util.function.IntToLongFunction keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the long values extracted by provided function.
|
default IntStreamEx |
IntStreamEx.IntEmitter.stream() |
Returns the stream which covers all the elements emitted by this
emitter.
|
IntStreamEx |
IntStreamEx.takeWhile(java.util.function.IntPredicate predicate) |
Returns a stream consisting of all elements from this stream until the
first element which does not match the given predicate is found.
|
IntStreamEx |
IntStreamEx.takeWhileInclusive(java.util.function.IntPredicate predicate) |
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).
|
IntStreamEx |
IntStreamEx.unordered() |
|
IntStreamEx |
IntStreamEx.without(int value) |
Returns a stream consisting of the elements of this stream that don't
equal to the given value.
|
IntStreamEx |
IntStreamEx.without(int... values) |
Returns a stream consisting of the elements of this stream that don't
equal to any of the supplied values.
|
static IntStreamEx |
IntStreamEx.zip(int[] first,
int[] second,
java.util.function.IntBinaryOperator mapper) |
Returns a sequential IntStreamEx containing the results of
applying the given function to the corresponding pairs of values in given
two arrays.
|