Lines Matching defs:IntStream

54  * {@link Stream} and {@link IntStream}, computing the sum of the weights of the
73 public interface IntStream extends BaseStream<Integer, IntStream> {
88 IntStream filter(IntPredicate predicate);
102 IntStream map(IntUnaryOperator mapper);
161 * {@code IntStream} of new values
165 IntStream flatMap(IntFunction<? extends IntStream> mapper);
175 IntStream distinct();
186 IntStream sorted();
204 * IntStream.of(1, 2, 3, 4)
217 IntStream peek(IntConsumer action);
244 IntStream limit(long maxSize);
273 IntStream skip(long n);
674 IntStream sequential();
677 IntStream parallel();
688 * Returns a builder for an {@code IntStream}.
697 * Returns an empty sequential {@code IntStream}.
701 public static IntStream empty() {
706 * Returns a sequential {@code IntStream} containing a single element.
711 public static IntStream of(int t) {
721 public static IntStream of(int... values) {
726 * Returns an infinite sequential ordered {@code IntStream} produced by iterative
731 * <p>The first element (position {@code 0}) in the {@code IntStream} will be
739 * @return A new sequential {@code IntStream}
741 public static IntStream iterate(final int seed, final IntUnaryOperator f) {
769 * @return a new infinite sequential unordered {@code IntStream}
771 public static IntStream generate(IntSupplier s) {
778 * Returns a sequential ordered {@code IntStream} from {@code startInclusive}
791 * @return a sequential {@code IntStream} for the range of {@code int}
794 public static IntStream range(int startInclusive, int endExclusive) {
804 * Returns a sequential ordered {@code IntStream} from {@code startInclusive}
817 * @return a sequential {@code IntStream} for the range of {@code int}
820 public static IntStream rangeClosed(int startInclusive, int endInclusive) {
846 public static IntStream concat(IntStream a, IntStream b) {
852 IntStream stream = StreamSupport.intStream(split, a.isParallel() || b.isParallel());
857 * A mutable builder for an {@code IntStream}.
866 * @see IntStream#builder()
910 IntStream build();