Uses of Class
one.util.streamex.IntStreamEx

  • Uses of IntStreamEx in one.util.streamex

    Methods in one.util.streamex that return IntStreamEx
    Modifier and Type
    Method
    Description
    IntStreamEx.append(int... values)
    Returns a new IntStreamEx which is a concatenation of this stream and the stream containing supplied values
    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.atLeast(int value)
    Returns a stream consisting of the elements of this stream that greater than or equal to the specified value.
    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) <T> IntStreamEx
    Java16Specific.callMapMultiToInt(AbstractStreamEx<T,?> s, BiConsumer<? super T,? super IntConsumer> mapper)
     
    (package private) <T> IntStreamEx
    VersionSpecific.callMapMultiToInt(AbstractStreamEx<T,?> s, BiConsumer<? super T,? super IntConsumer> mapper)
     
    (package private) final IntStreamEx
    Java16Specific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    (package private) final IntStreamEx
    Java9Specific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    (package private) IntStreamEx
    VersionSpecific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    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(Spliterator.OfInt spliterator)
     
    IntStreamEx.distinct()
     
    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.elements(int[] array)
    Returns an IntStreamEx consisting of the elements of given array corresponding to the indices which appear in this stream.
    IntStreamEx.empty()
    Returns an empty sequential IntStreamEx.
    IntStreamEx.filter(IntPredicate predicate)
     
    IntStreamEx.flatMap(IntFunction<? extends IntStream> mapper)
     
    AbstractStreamEx.flatMapToInt(Function<? super T,? extends IntStream> mapper)
     
    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.
    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.
    IntStreamEx.generate(IntSupplier s)
    Returns an infinite sequential unordered stream where each element is generated by the provided IntSupplier.
    IntStreamEx.greater(int value)
    Returns a stream consisting of the elements of this stream that strictly greater than the specified value.
    IntStreamEx.intersperse(int delimiter)
    Returns a new stream containing all the elements of the original stream interspersed with given delimiter.
    IntStreamEx.ints()
    Returns a sequential ordered IntStreamEx from 0 (inclusive) to Integer.MAX_VALUE (exclusive) by an incremental step of 1 .
    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.
    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.less(int value)
    Returns a stream consisting of the elements of this stream that strictly less than the specified value.
    IntStreamEx.limit(long maxSize)
     
    IntStreamEx.map(IntUnaryOperator mapper)
     
    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.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.
    AbstractStreamEx.mapMultiToInt(BiConsumer<? super T,? super IntConsumer> mapper)
    Returns an IntStreamEx where every element of this stream is replaced by elements produced by a mapper function.
    AbstractStreamEx.mapToInt(ToIntFunction<? super T> mapper)
     
    DoubleStreamEx.mapToInt(DoubleToIntFunction mapper)
     
    LongStreamEx.mapToInt(LongToIntFunction mapper)
     
    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.
    IntStreamEx.of(InputStream is)
    Returns a sequential ordered IntStreamEx backed by the content of given InputStream.
    IntStreamEx.of(Integer[] array)
    Returns a sequential ordered IntStreamEx whose elements are the unboxed elements of supplied array.
    IntStreamEx.of(IntBuffer buf)
    Returns a sequential ordered IntStreamEx whose elements are the values in the supplied IntBuffer.
    IntStreamEx.of(BitSet bitSet)
    Returns an IntStreamEx of indices for which the specified BitSet contains a bit in the set state.
    IntStreamEx.of(Collection<Integer> collection)
    Returns a sequential ordered IntStreamEx whose elements are the unboxed elements of supplied collection.
    IntStreamEx.of(OptionalInt optional)
    Returns a sequential IntStreamEx containing an OptionalInt value, if present, otherwise returns an empty IntStreamEx.
    IntStreamEx.of(PrimitiveIterator.OfInt iterator)
    Returns a sequential, ordered IntStreamEx created from given PrimitiveIterator.OfInt.
    IntStreamEx.of(Random random)
    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).
    IntStreamEx.of(Spliterator.OfInt spliterator)
    Returns a sequential IntStreamEx created from given Spliterator.OfInt.
    IntStreamEx.of(IntStream stream)
    Returns an IntStreamEx object which wraps given IntStream .
    IntStreamEx.ofChars(CharSequence seq)
    Returns an IntStreamEx of int zero-extending the char values from the supplied CharSequence.
    IntStreamEx.ofCodePoints(CharSequence seq)
    Returns an IntStreamEx of code point values from the supplied CharSequence.
    IntStreamEx.ofIndices(double[] array)
    Returns a sequential ordered IntStreamEx containing all the indices of supplied array.
    IntStreamEx.ofIndices(double[] array, DoublePredicate predicate)
    Returns a sequential ordered IntStreamEx containing all the indices of the supplied array elements which match given predicate.
    IntStreamEx.ofIndices(int[] array)
    Returns a sequential ordered IntStreamEx containing all the indices of supplied array.
    IntStreamEx.ofIndices(int[] array, IntPredicate predicate)
    Returns a sequential ordered IntStreamEx containing all the indices of the supplied array elements which match given predicate.
    IntStreamEx.ofIndices(long[] array)
    Returns a sequential ordered IntStreamEx containing all the indices of supplied array.
    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.onClose(Runnable closeHandler)
     
    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.parallel()
     
    IntStreamEx.parallel(ForkJoinPool fjp)
     
    IntStreamEx.peek(IntConsumer action)
     
    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.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.prefix(IntBinaryOperator op)
    Returns a stream containing cumulative results of applying the accumulation function going left to right.
    IntStreamEx.prepend(int... values)
    Returns a new IntStreamEx which is a concatenation of the stream containing supplied values and this stream
    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.
    IntStreamEx.produce(Predicate<IntConsumer> producer)
    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.
    IntStreamEx.remove(IntPredicate predicate)
    Returns a stream consisting of the elements of this stream that don't match the given predicate.
    IntStreamEx.reverseSorted()
    Returns a stream consisting of the elements of this stream in reverse sorted order.
    private static IntStreamEx
    IntStreamEx.seq(IntStream stream)
     
    IntStreamEx.sequential()
     
    IntStreamEx.skip(long n)
     
    IntStreamEx.sorted()
     
    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.sortedByDouble(IntToDoubleFunction keyExtractor)
    Returns a stream consisting of the elements of this stream, sorted according to the double values extracted by provided function.
    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.sortedByLong(IntToLongFunction keyExtractor)
    Returns a stream consisting of the elements of this stream, sorted according to the long values extracted by provided function.
    (package private) IntStreamEx
    Internals.IntBuffer.stream()
     
    default IntStreamEx
    IntStreamEx.IntEmitter.stream()
    Returns the stream which covers all the elements emitted by this emitter.
    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.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.unordered()
     
    IntStreamEx.without(int value)
    Returns a stream consisting of the elements of this stream that don't equal to the given value.
    IntStreamEx.without(int... values)
    Returns a stream consisting of the elements of this stream that don't equal to any of the supplied values.
    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.
    Methods in one.util.streamex with parameters of type IntStreamEx
    Modifier and Type
    Method
    Description
    (package private) final IntStreamEx
    Java16Specific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    (package private) final IntStreamEx
    Java9Specific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    (package private) IntStreamEx
    VersionSpecific.callWhile(IntStreamEx stream, IntPredicate predicate, boolean drop)
     
    Method parameters in one.util.streamex with type arguments of type IntStreamEx
    Modifier and Type
    Method
    Description
    <U> U
    IntStreamEx.chain(Function<? super IntStreamEx,U> mapper)