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(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.
|
static IntStreamEx |
IntStreamEx.constant(int value,
long length) |
Returns a sequential unordered IntStreamEx of given length which
elements are equal to supplied value.
|
IntStreamEx |
IntStreamEx.distinct() |
|
IntStreamEx |
IntStreamEx.dropWhile(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(IntPredicate predicate) |
|
IntStreamEx |
IntStreamEx.flatMap(IntFunction<? extends IntStream> mapper) |
|
IntStreamEx |
AbstractStreamEx.flatMapToInt(Function<? super T,? extends IntStream> mapper) |
|
IntStreamEx |
DoubleStreamEx.flatMapToInt(DoubleFunction<? extends 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(LongFunction<? extends 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(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,
IntPredicate predicate,
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,
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(IntUnaryOperator mapper) |
|
IntStreamEx |
IntStreamEx.mapFirst(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(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(ToIntFunction<? super T> mapper) |
|
IntStreamEx |
DoubleStreamEx.mapToInt(DoubleToIntFunction mapper) |
|
IntStreamEx |
LongStreamEx.mapToInt(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(InputStream is) |
Returns a sequential ordered IntStreamEx backed by the content of
given InputStream .
|
static IntStreamEx |
IntStreamEx.of(Integer[] array) |
Returns a sequential ordered IntStreamEx whose elements are the
unboxed elements of supplied array.
|
static IntStreamEx |
IntStreamEx.of(IntBuffer buf) |
Returns a sequential ordered IntStreamEx whose elements are the
values in the supplied IntBuffer .
|
static IntStreamEx |
IntStreamEx.of(BitSet bitSet) |
Returns an IntStreamEx of indices for which the specified
BitSet contains a bit in the set state.
|
static IntStreamEx |
IntStreamEx.of(Collection<Integer> collection) |
Returns a sequential ordered IntStreamEx whose elements are the
unboxed elements of supplied collection.
|
static IntStreamEx |
IntStreamEx.of(OptionalInt optional) |
Returns a sequential IntStreamEx containing an
OptionalInt value, if present, otherwise returns an empty
IntStreamEx .
|
static IntStreamEx |
IntStreamEx.of(PrimitiveIterator.OfInt iterator) |
|
static IntStreamEx |
IntStreamEx.of(Random random) |
Returns an effectively unlimited stream of pseudorandom int
values produced by given Random object.
|
static IntStreamEx |
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).
|
static IntStreamEx |
IntStreamEx.of(Random random,
long streamSize) |
Returns a stream producing the given streamSize number of
pseudorandom int values.
|
static IntStreamEx |
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).
|
static IntStreamEx |
IntStreamEx.of(Spliterator.OfInt spliterator) |
|
static IntStreamEx |
IntStreamEx.of(IntStream stream) |
Returns an IntStreamEx object which wraps given IntStream
.
|
static IntStreamEx |
IntStreamEx.ofChars(CharSequence seq) |
Returns an IntStreamEx of int zero-extending the
char values from the supplied CharSequence .
|
static IntStreamEx |
IntStreamEx.ofCodePoints(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,
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,
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,
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(List<T> list) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied list.
|
static <T> IntStreamEx |
IntStreamEx.ofIndices(List<T> list,
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,
Predicate<T> predicate) |
Returns a sequential ordered IntStreamEx containing all the
indices of the supplied array elements which match given predicate.
|
IntStreamEx |
IntStreamEx.onClose(Runnable closeHandler) |
|
IntStreamEx |
IntStreamEx.pairMap(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(ForkJoinPool fjp) |
|
IntStreamEx |
IntStreamEx.peek(IntConsumer action) |
|
IntStreamEx |
IntStreamEx.peekFirst(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(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(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(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(Predicate<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(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.
|
IntStreamEx |
IntStreamEx.sequential() |
|
IntStreamEx |
IntStreamEx.skip(long n) |
|
IntStreamEx |
IntStreamEx.sorted() |
|
IntStreamEx |
IntStreamEx.sorted(Comparator<Integer> comparator) |
Returns a stream consisting of the elements of this stream sorted
according to the given comparator.
|
<V extends Comparable<? super V>> IntStreamEx |
IntStreamEx.sortedBy(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(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(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(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(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(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,
IntBinaryOperator mapper) |
Returns a sequential IntStreamEx containing the results of
applying the given function to the corresponding pairs of values in given
two arrays.
|