LongStreamEx |
LongStreamEx.append(long... values) |
Returns a new LongStreamEx which is a concatenation of this
stream and the stream containing supplied values
|
LongStreamEx |
LongStreamEx.append(java.util.stream.LongStream other) |
Creates a lazily concatenated stream whose elements are all the elements
of this stream followed by all the elements of the other stream.
|
LongStreamEx |
IntStreamEx.asLongStream() |
|
LongStreamEx |
LongStreamEx.atLeast(long value) |
Returns a stream consisting of the elements of this stream that greater
than or equal to the specified value.
|
LongStreamEx |
LongStreamEx.atMost(long value) |
Returns a stream consisting of the elements of this stream that less than
or equal to the specified value.
|
(package private) LongStreamEx |
Java9Specific.callWhile(LongStreamEx stream,
java.util.function.LongPredicate predicate,
boolean drop) |
|
(package private) LongStreamEx |
VersionSpecific.callWhile(LongStreamEx stream,
java.util.function.LongPredicate predicate,
boolean drop) |
|
static LongStreamEx |
LongStreamEx.constant(long value,
long length) |
Returns a sequential unordered LongStreamEx of given length which
elements are equal to supplied value.
|
(package private) LongStreamEx |
LongStreamEx.delegate(java.util.Spliterator.OfLong spliterator) |
|
LongStreamEx |
LongStreamEx.distinct() |
|
LongStreamEx |
LongStreamEx.dropWhile(java.util.function.LongPredicate predicate) |
Returns a stream consisting of all elements from this stream starting
from the first element which does not match the given predicate.
|
LongStreamEx |
IntStreamEx.elements(long[] array) |
Returns a LongStreamEx consisting of the elements of given array
corresponding to the indices which appear in this stream.
|
static LongStreamEx |
LongStreamEx.empty() |
Returns an empty sequential LongStreamEx .
|
LongStreamEx |
LongStreamEx.filter(java.util.function.LongPredicate predicate) |
|
LongStreamEx |
LongStreamEx.flatMap(java.util.function.LongFunction<? extends java.util.stream.LongStream> mapper) |
|
LongStreamEx |
AbstractStreamEx.flatMapToLong(java.util.function.Function<? super T,? extends java.util.stream.LongStream> mapper) |
|
LongStreamEx |
DoubleStreamEx.flatMapToLong(java.util.function.DoubleFunction<? extends java.util.stream.LongStream> mapper) |
Returns a LongStreamEx 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.
|
LongStreamEx |
IntStreamEx.flatMapToLong(java.util.function.IntFunction<? extends java.util.stream.LongStream> mapper) |
Returns a LongStreamEx 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 LongStreamEx |
LongStreamEx.generate(java.util.function.LongSupplier s) |
Returns an infinite sequential unordered stream where each element is
generated by the provided LongSupplier .
|
LongStreamEx |
LongStreamEx.greater(long value) |
Returns a stream consisting of the elements of this stream that strictly
greater than the specified value.
|
LongStreamEx |
LongStreamEx.intersperse(int delimiter) |
Returns a new stream containing all the elements of the original stream interspersed with
given delimiter.
|
static LongStreamEx |
LongStreamEx.iterate(long seed,
java.util.function.LongPredicate predicate,
java.util.function.LongUnaryOperator f) |
Returns a sequential ordered LongStreamEx produced by iterative
application of a function to an initial element, conditioned on
satisfying the supplied predicate.
|
static LongStreamEx |
LongStreamEx.iterate(long seed,
java.util.function.LongUnaryOperator f) |
Returns an infinite sequential ordered LongStreamEx 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.
|
LongStreamEx |
LongStreamEx.less(long value) |
Returns a stream consisting of the elements of this stream that strictly
less than the specified value.
|
LongStreamEx |
LongStreamEx.limit(long maxSize) |
|
static LongStreamEx |
LongStreamEx.longs() |
Returns a sequential ordered LongStreamEx from 0 (inclusive) to
Long.MAX_VALUE (exclusive) by an incremental step of 1 .
|
LongStreamEx |
LongStreamEx.map(java.util.function.LongUnaryOperator mapper) |
|
LongStreamEx |
LongStreamEx.mapFirst(java.util.function.LongUnaryOperator 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.
|
LongStreamEx |
LongStreamEx.mapLast(java.util.function.LongUnaryOperator 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.
|
LongStreamEx |
AbstractStreamEx.mapToLong(java.util.function.ToLongFunction<? super T> mapper) |
|
LongStreamEx |
DoubleStreamEx.mapToLong(java.util.function.DoubleToLongFunction mapper) |
|
LongStreamEx |
IntStreamEx.mapToLong(java.util.function.IntToLongFunction mapper) |
|
static LongStreamEx |
LongStreamEx.of(long element) |
Returns a sequential LongStreamEx containing a single element.
|
static LongStreamEx |
LongStreamEx.of(long... elements) |
Returns a sequential ordered LongStreamEx whose elements are the
specified values.
|
static LongStreamEx |
LongStreamEx.of(long[] array,
int startInclusive,
int endExclusive) |
Returns a sequential LongStreamEx with the specified range of the
specified array as its source.
|
static LongStreamEx |
LongStreamEx.of(java.lang.Long[] array) |
Returns a sequential ordered LongStreamEx whose elements are the
unboxed elements of supplied array.
|
static LongStreamEx |
LongStreamEx.of(java.nio.LongBuffer buf) |
Returns a sequential ordered LongStreamEx whose elements are the
values in the supplied LongBuffer .
|
static LongStreamEx |
LongStreamEx.of(java.util.Collection<java.lang.Long> collection) |
Returns a sequential ordered LongStreamEx whose elements are the
unboxed elements of supplied collection.
|
static LongStreamEx |
LongStreamEx.of(java.util.OptionalLong optional) |
Returns a sequential LongStreamEx containing an
OptionalLong value, if present, otherwise returns an empty
LongStreamEx .
|
static LongStreamEx |
LongStreamEx.of(java.util.PrimitiveIterator.OfLong iterator) |
Returns a sequential, ordered LongStreamEx created from given
PrimitiveIterator.OfLong .
|
static LongStreamEx |
LongStreamEx.of(java.util.Random random) |
Returns an effectively unlimited stream of pseudorandom long
values produced by given Random object.
|
static LongStreamEx |
LongStreamEx.of(java.util.Random random,
long streamSize) |
Returns a stream producing the given streamSize number of
pseudorandom long values.
|
static LongStreamEx |
LongStreamEx.of(java.util.Random random,
long randomNumberOrigin,
long randomNumberBound) |
Returns an effectively unlimited stream of pseudorandom long
values, each conforming to the given origin (inclusive) and bound
(exclusive).
|
static LongStreamEx |
LongStreamEx.of(java.util.Random random,
long streamSize,
long randomNumberOrigin,
long randomNumberBound) |
Returns a stream producing the given streamSize number of
pseudorandom long values, each conforming to the given origin
(inclusive) and bound (exclusive).
|
static LongStreamEx |
LongStreamEx.of(java.util.Spliterator.OfLong spliterator) |
Returns a sequential LongStreamEx created from given
Spliterator.OfLong .
|
static LongStreamEx |
LongStreamEx.of(java.util.stream.LongStream stream) |
Returns a LongStreamEx object which wraps given
LongStream .
|
LongStreamEx |
LongStreamEx.onClose(java.lang.Runnable closeHandler) |
|
LongStreamEx |
LongStreamEx.pairMap(java.util.function.LongBinaryOperator mapper) |
Returns a stream consisting of the results of applying the given function
to the every adjacent pair of elements of this stream.
|
LongStreamEx |
LongStreamEx.parallel() |
|
LongStreamEx |
LongStreamEx.parallel(java.util.concurrent.ForkJoinPool fjp) |
|
LongStreamEx |
LongStreamEx.peek(java.util.function.LongConsumer action) |
|
LongStreamEx |
LongStreamEx.peekFirst(java.util.function.LongConsumer 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.
|
LongStreamEx |
LongStreamEx.peekLast(java.util.function.LongConsumer 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.
|
LongStreamEx |
LongStreamEx.prefix(java.util.function.LongBinaryOperator op) |
Returns a stream containing cumulative results of applying the
accumulation function going left to right.
|
LongStreamEx |
LongStreamEx.prepend(long... values) |
Returns a new LongStreamEx which is a concatenation of the stream
containing supplied values and this stream
|
LongStreamEx |
LongStreamEx.prepend(java.util.stream.LongStream 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 LongStreamEx |
LongStreamEx.produce(java.util.function.Predicate<java.util.function.LongConsumer> producer) |
Return an ordered stream produced by consecutive calls of the supplied
producer until it returns false.
|
static LongStreamEx |
LongStreamEx.range(long endExclusive) |
Returns a sequential ordered LongStreamEx from 0 (inclusive) to
endExclusive (exclusive) by an incremental step of 1 .
|
static LongStreamEx |
LongStreamEx.range(long startInclusive,
long endExclusive) |
Returns a sequential ordered LongStreamEx from
startInclusive (inclusive) to endExclusive (exclusive) by
an incremental step of 1 .
|
static LongStreamEx |
LongStreamEx.range(long startInclusive,
long endExclusive,
long step) |
Returns a sequential ordered LongStreamEx from
startInclusive (inclusive) to endExclusive (exclusive) by
the specified incremental step.
|
static LongStreamEx |
LongStreamEx.rangeClosed(long startInclusive,
long endInclusive) |
Returns a sequential ordered LongStreamEx from
startInclusive (inclusive) to endInclusive (inclusive) by
an incremental step of 1 .
|
static LongStreamEx |
LongStreamEx.rangeClosed(long startInclusive,
long endInclusive,
long step) |
Returns a sequential ordered LongStreamEx from
startInclusive (inclusive) to endInclusive (inclusive) by
the specified incremental step.
|
LongStreamEx |
LongStreamEx.remove(java.util.function.LongPredicate predicate) |
Returns a stream consisting of the elements of this stream that don't
match the given predicate.
|
LongStreamEx |
LongStreamEx.reverseSorted() |
Returns a stream consisting of the elements of this stream in reverse
sorted order.
|
private static LongStreamEx |
LongStreamEx.seq(java.util.stream.LongStream stream) |
|
LongStreamEx |
LongStreamEx.sequential() |
|
LongStreamEx |
LongStreamEx.skip(long n) |
|
LongStreamEx |
LongStreamEx.sorted() |
|
LongStreamEx |
LongStreamEx.sorted(java.util.Comparator<java.lang.Long> comparator) |
Returns a stream consisting of the elements of this stream sorted
according to the given comparator.
|
<V extends java.lang.Comparable<? super V>> LongStreamEx |
LongStreamEx.sortedBy(java.util.function.LongFunction<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.
|
LongStreamEx |
LongStreamEx.sortedByDouble(java.util.function.LongToDoubleFunction keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the double values extracted by provided function.
|
LongStreamEx |
LongStreamEx.sortedByInt(java.util.function.LongToIntFunction keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the int values extracted by provided function.
|
LongStreamEx |
LongStreamEx.sortedByLong(java.util.function.LongUnaryOperator keyExtractor) |
Returns a stream consisting of the elements of this stream, sorted
according to the long values extracted by provided function.
|
default LongStreamEx |
LongStreamEx.LongEmitter.stream() |
Returns the stream which covers all the elements emitted by this
emitter.
|
LongStreamEx |
LongStreamEx.takeWhile(java.util.function.LongPredicate predicate) |
Returns a stream consisting of all elements from this stream until the
first element which does not match the given predicate is found.
|
LongStreamEx |
LongStreamEx.takeWhileInclusive(java.util.function.LongPredicate 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).
|
LongStreamEx |
LongStreamEx.unordered() |
|
LongStreamEx |
LongStreamEx.without(long value) |
Returns a stream consisting of the elements of this stream that don't
equal to the given value.
|
LongStreamEx |
LongStreamEx.without(long... values) |
Returns a stream consisting of the elements of this stream that don't
equal to any of the supplied values.
|
static LongStreamEx |
LongStreamEx.zip(long[] first,
long[] second,
java.util.function.LongBinaryOperator mapper) |
Returns a sequential LongStreamEx containing the results of
applying the given function to the corresponding pairs of values in given
two arrays.
|