Uses of Class
one.util.streamex.LongStreamEx

  • Uses of LongStreamEx in one.util.streamex

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