Example usage for java.util.stream IntStream spliterator

List of usage examples for java.util.stream IntStream spliterator

Introduction

In this page you can find the example usage for java.util.stream IntStream spliterator.

Prototype

@Override
    Spliterator.OfInt spliterator();

Source Link

Usage

From source file:Main.java

public static void main(String[] args) {
    IntStream i = IntStream.of(1, 2, 3, 4, 5, 6, 7);
    Spliterator.OfInt o = i.spliterator();
    System.out.println(o.characteristics());
}