File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
com.vogella.eclipse.ide.java8
src/com/vogella/eclipse/ide/java8 Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <classpath >
3+ <classpathentry kind =" src" path =" src" />
4+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8" />
5+ <classpathentry kind =" output" path =" bin" />
6+ </classpath >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <projectDescription >
3+ <name >com.vogella.eclipse.ide.java8</name >
4+ <comment ></comment >
5+ <projects >
6+ </projects >
7+ <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.jdt.core.javabuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
13+ </buildSpec >
14+ <natures >
15+ <nature >org.eclipse.jdt.core.javanature</nature >
16+ </natures >
17+ </projectDescription >
Original file line number Diff line number Diff line change 1+ package com .vogella .eclipse .ide .java8 ;
2+
3+ public class Java8Example {
4+
5+ public static void main (String [] args ) {
6+ Runnable runnable = new Runnable () {
7+ @ Override
8+ public void run () {
9+ System .out .println ("Hello Lambdas" );
10+ }
11+ };
12+
13+ new Thread (runnable );
14+
15+ }
16+
17+ }
You can’t perform that action at this time.
0 commit comments