Should List.stream() work with Java 8?

I just downloaded the Java 8 Early Access JDK from here and created a test project in IDEA, setting the Home directory accordingly.  I'm running IDEA 12.0.2.

Closures seem to work, but when I try to use the new stream() method of java.util.List, the method doesn't appear to exist.

I've heard that these methods are now implemented in the Java 8 JDK, any ideas why I can't use them?

1 comment

Please use jdk from jdk8.java.net/lambda

0

Please sign in to leave a comment.