eclipse \
-nosplash \
-application org.eclipse.equinox.p2.director \
-repository <update-site-urls> \
-installIU <install-unit-id><update-site-urls>はカンマ区切りでURLを複数指定可能- `` は Eclipseの
Help > About > Installation Detailsの `Id` カラムの値
eclipse \
-nosplash \
-application org.eclipse.equinox.p2.director \
-repository <update-site-urls> \
-installIU <install-unit-id><update-site-urls> はカンマ区切りでURLを複数指定可能Help > About > Installation Details の `Id` カラムの値| public class InferExc { | |
| public static void main(String[] args) /*never throw*/ { | |
| caller(() -> { return; }); | |
| } | |
| private static <T extends Throwable> void caller(Capture<T> c) throws T { | |
| c.f(); | |
| } | |
| @FunctionalInterface | |
| public interface Capture<T extends Throwable> { | |
| void f() throws T; |
| public class BreakExample { | |
| public static void main(String... args) { | |
| boolean always = true; | |
| String message; | |
| body: | |
| { | |
| if (always) { | |
| message = "OK"; | |
| // http://docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-14.15 | |
| break body; |
| public class SubSubCommands { | |
| public static void main(String[] args) { | |
| exec("a"); | |
| exec("b"); | |
| exec("a", "c"); | |
| /* | |
| args: [a] | |
| program: "root a" | |
| command: [A] |
| public class MRC { | |
| public static void main(String[] args) { | |
| Supplier<Integer> s = new AtomicInteger()::incrementAndGet; | |
| System.out.println(s.get()); | |
| System.out.println(s.get()); | |
| System.out.println(s.get()); | |
| } | |
| } |
| { | |
| "notebook:close-and-shutdown": { | |
| "command": "notebook:close-and-shutdown", | |
| "keys": [ | |
| "Alt W" | |
| ], | |
| "selector": ".jp-Notebook" | |
| }, | |
| "notebook:change-cell-to-raw": { | |
| "command": "notebook:change-cell-to-raw", |