Example usage for java.util.stream IntStream empty

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

Introduction

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

Prototype

public static IntStream empty() 

Source Link

Document

Returns an empty sequential IntStream .

Usage

From source file:Main.java

public static void main(String[] args) {
    IntStream i = IntStream.empty();
    System.out.println(i.count());
}