List of usage examples for java.util PrimitiveIterator.OfLong hasNext
boolean hasNext();
From source file:Main.java
public static void main(String[] args) { LongStream b = LongStream.empty(); PrimitiveIterator.OfLong o = b.iterator(); while (o.hasNext()) { System.out.println(o.next()); }// w w w .j a v a2 s . c o m }