SYMBOL INDEX (300 symbols across 70 files) FILE: res/nashorn2.js function Person (line 25) | function Person(firstName, lastName) { FILE: res/nashorn5.js function Product (line 1) | function Product(name) { FILE: src/com/winterbe/java11/HttpClientExamples.java class HttpClientExamples (line 12) | public class HttpClientExamples { method main (line 14) | public static void main(String[] args) throws IOException, Interrupted... method syncRequest (line 21) | private static void syncRequest() throws IOException, InterruptedExcep... method asyncRequest (line 30) | private static void asyncRequest() { method postData (line 40) | private static void postData() throws IOException, InterruptedException { method basicAuth (line 53) | private static void basicAuth() throws IOException, InterruptedExcepti... FILE: src/com/winterbe/java11/LocalVariableSyntax.java class LocalVariableSyntax (line 8) | public class LocalVariableSyntax { method main (line 10) | public static void main(String[] args) { method someMethod (line 35) | void someMethod() {} FILE: src/com/winterbe/java11/Misc.java class Misc (line 12) | public class Misc { method main (line 17) | public static void main(String[] args) throws IOException { method streams (line 25) | private static void streams() { method inputStreams (line 35) | private static void inputStreams() throws IOException { method optionals (line 45) | private static void optionals() { method strings (line 51) | private static void strings() { method collections (line 60) | private static void collections() { FILE: src/com/winterbe/java8/samples/concurrent/Atomic1.java class Atomic1 (line 11) | public class Atomic1 { method main (line 17) | public static void main(String[] args) { method testUpdate (line 23) | private static void testUpdate() { method testAccumulate (line 40) | private static void testAccumulate() { method testIncrement (line 57) | private static void testIncrement() { FILE: src/com/winterbe/java8/samples/concurrent/CompletableFuture1.java class CompletableFuture1 (line 9) | public class CompletableFuture1 { method main (line 11) | public static void main(String[] args) throws ExecutionException, Inte... FILE: src/com/winterbe/java8/samples/concurrent/ConcurrentHashMap1.java class ConcurrentHashMap1 (line 9) | public class ConcurrentHashMap1 { method main (line 11) | public static void main(String[] args) { method testReduce (line 19) | private static void testReduce() { method testSearch (line 32) | private static void testSearch() { method testForEach (line 64) | private static void testForEach() { FILE: src/com/winterbe/java8/samples/concurrent/ConcurrentUtils.java class ConcurrentUtils (line 9) | public class ConcurrentUtils { method stop (line 11) | public static void stop(ExecutorService executor) { method sleep (line 27) | public static void sleep(int seconds) { FILE: src/com/winterbe/java8/samples/concurrent/Executors1.java class Executors1 (line 10) | public class Executors1 { method main (line 12) | public static void main(String[] args) { method test1 (line 17) | private static void test1(long seconds) { method stop (line 32) | static void stop(ExecutorService executor) { FILE: src/com/winterbe/java8/samples/concurrent/Executors2.java class Executors2 (line 13) | public class Executors2 { method main (line 15) | public static void main(String[] args) throws ExecutionException, Inte... method test3 (line 21) | private static void test3() throws InterruptedException, ExecutionExce... method test2 (line 37) | private static void test2() throws InterruptedException, ExecutionExce... method test1 (line 54) | private static void test1() throws InterruptedException, ExecutionExce... FILE: src/com/winterbe/java8/samples/concurrent/Executors3.java class Executors3 (line 16) | public class Executors3 { method main (line 18) | public static void main(String[] args) throws InterruptedException, Ex... method test5 (line 27) | private static void test5() throws InterruptedException, ExecutionExce... method callable (line 41) | private static Callable callable(String result, long sleepSeco... method test4 (line 48) | private static void test4() throws InterruptedException { method test3 (line 71) | private static void test3() { method test2 (line 87) | private static void test2() { method test1 (line 95) | private static void test1() throws InterruptedException { FILE: src/com/winterbe/java8/samples/concurrent/Lock1.java class Lock1 (line 11) | public class Lock1 { method increment (line 19) | private static void increment() { method main (line 28) | public static void main(String[] args) { method testLock (line 32) | private static void testLock() { FILE: src/com/winterbe/java8/samples/concurrent/Lock2.java class Lock2 (line 10) | public class Lock2 { method main (line 12) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/concurrent/Lock3.java class Lock3 (line 13) | public class Lock3 { method main (line 15) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/concurrent/Lock4.java class Lock4 (line 12) | public class Lock4 { method main (line 14) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/concurrent/Lock5.java class Lock5 (line 10) | public class Lock5 { method main (line 12) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/concurrent/Lock6.java class Lock6 (line 10) | public class Lock6 { method main (line 14) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/concurrent/LongAccumulator1.java class LongAccumulator1 (line 12) | public class LongAccumulator1 { method main (line 14) | public static void main(String[] args) { method testAccumulate (line 18) | private static void testAccumulate() { FILE: src/com/winterbe/java8/samples/concurrent/LongAdder1.java class LongAdder1 (line 11) | public class LongAdder1 { method main (line 17) | public static void main(String[] args) { method testAdd (line 22) | private static void testAdd() { method testIncrement (line 33) | private static void testIncrement() { FILE: src/com/winterbe/java8/samples/concurrent/Semaphore1.java class Semaphore1 (line 12) | public class Semaphore1 { method main (line 20) | public static void main(String[] args) { method testIncrement (line 24) | private static void testIncrement() { method increment (line 35) | private static void increment() { FILE: src/com/winterbe/java8/samples/concurrent/Semaphore2.java class Semaphore2 (line 12) | public class Semaphore2 { method main (line 16) | public static void main(String[] args) { method doWork (line 25) | private static void doWork() { FILE: src/com/winterbe/java8/samples/concurrent/Synchronized1.java class Synchronized1 (line 10) | public class Synchronized1 { method main (line 16) | public static void main(String[] args) { method testSyncIncrement (line 21) | private static void testSyncIncrement() { method testNonSyncIncrement (line 34) | private static void testNonSyncIncrement() { method incrementSync (line 47) | private static synchronized void incrementSync() { method increment (line 51) | private static void increment() { FILE: src/com/winterbe/java8/samples/concurrent/Synchronized2.java class Synchronized2 (line 10) | public class Synchronized2 { method main (line 16) | public static void main(String[] args) { method testSyncIncrement (line 20) | private static void testSyncIncrement() { method incrementSync (line 33) | private static void incrementSync() { FILE: src/com/winterbe/java8/samples/concurrent/Threads1.java class Threads1 (line 8) | public class Threads1 { method main (line 10) | public static void main(String[] args) { method test3 (line 16) | private static void test3() { method test2 (line 32) | private static void test2() { method test1 (line 48) | private static void test1() { FILE: src/com/winterbe/java8/samples/lambda/Interface1.java class Interface1 (line 6) | public class Interface1 { type Formula (line 8) | interface Formula { method calculate (line 9) | double calculate(int a); method sqrt (line 11) | default double sqrt(int a) { method positive (line 15) | static int positive(int a) { method main (line 20) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/lambda/Lambda1.java class Lambda1 (line 12) | public class Lambda1 { method main (line 14) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/lambda/Lambda2.java class Lambda2 (line 6) | public class Lambda2 { type Converter (line 8) | @FunctionalInterface method convert (line 10) | T convert(F from); class Something (line 13) | static class Something { method startsWith (line 14) | String startsWith(String s) { type PersonFactory (line 19) | interface PersonFactory

{ method create (line 20) | P create(String firstName, String lastName); method main (line 23) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/lambda/Lambda3.java class Lambda3 (line 17) | public class Lambda3 { type Fun (line 19) | @FunctionalInterface method foo (line 21) | void foo(); method main (line 24) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/lambda/Lambda4.java class Lambda4 (line 6) | public class Lambda4 { method testScopes (line 12) | void testScopes() { method main (line 37) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/lambda/Lambda5.java class Lambda5 (line 9) | public class Lambda5 { method main (line 12) | public static void main(String... args) { FILE: src/com/winterbe/java8/samples/lambda/Person.java class Person (line 6) | public class Person { method Person (line 10) | public Person() {} method Person (line 12) | public Person(String firstName, String lastName) { FILE: src/com/winterbe/java8/samples/misc/Annotations1.java class Annotations1 (line 12) | public class Annotations1 { class Person (line 30) | @Hint("hint1") method main (line 36) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/misc/CheckedFunctions.java class CheckedFunctions (line 12) | public final class CheckedFunctions { type CheckedConsumer (line 14) | @FunctionalInterface method accept (line 16) | void accept(T input) throws Exception; type CheckedPredicate (line 19) | @FunctionalInterface method test (line 21) | boolean test(T input) throws Exception; type CheckedFunction (line 24) | @FunctionalInterface method apply (line 26) | T apply(F input) throws Exception; method function (line 37) | public static Function function(CheckedFunction fun... method predicate (line 58) | public static Predicate predicate(CheckedPredicate predicate) { method consumer (line 79) | public static Consumer consumer(CheckedConsumer consumer) { FILE: src/com/winterbe/java8/samples/misc/Concurrency1.java class Concurrency1 (line 9) | public class Concurrency1 { method main (line 11) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/misc/Files1.java class Files1 (line 16) | public class Files1 { method main (line 18) | public static void main(String[] args) throws IOException { method testReaderLines (line 29) | private static void testReaderLines() throws IOException { method testWriter (line 40) | private static void testWriter() throws IOException { method testReader (line 47) | private static void testReader() throws IOException { method testWalk (line 54) | private static void testWalk() throws IOException { method testFind (line 66) | private static void testFind() throws IOException { method testList (line 79) | private static void testList() throws IOException { method testLines (line 90) | private static void testLines() throws IOException { method testReadWriteLines (line 99) | private static void testReadWriteLines() throws IOException { FILE: src/com/winterbe/java8/samples/misc/Maps1.java class Maps1 (line 9) | public class Maps1 { method main (line 11) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/misc/Math1.java class Math1 (line 6) | public class Math1 { method main (line 8) | public static void main(String[] args) { method testUnsignedInt (line 13) | private static void testUnsignedInt() { method testMathExact (line 40) | private static void testMathExact() { FILE: src/com/winterbe/java8/samples/misc/String1.java class String1 (line 10) | public class String1 { method main (line 12) | public static void main(String[] args) { method testChars (line 19) | private static void testChars() { method testPatternSplit (line 29) | private static void testPatternSplit() { method testPatternPredicate (line 38) | private static void testPatternPredicate() { method testJoin (line 45) | private static void testJoin() { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn1.java class Nashorn1 (line 17) | public class Nashorn1 { method main (line 19) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn10.java class Nashorn10 (line 12) | public class Nashorn10 { method main (line 14) | public static void main(String[] args) throws ScriptException, NoSuchM... FILE: src/com/winterbe/java8/samples/nashorn/Nashorn11.java class Nashorn11 (line 15) | public class Nashorn11 { method main (line 17) | public static void main(String[] args) throws Exception { method test8 (line 28) | private static void test8() throws ScriptException { method test7 (line 47) | private static void test7() throws ScriptException { method test6 (line 66) | private static void test6() throws ScriptException { method test5 (line 86) | private static void test5() throws ScriptException { method test4 (line 106) | private static void test4() throws ScriptException { method test3 (line 121) | private static void test3() throws ScriptException { method test2 (line 138) | private static void test2() throws ScriptException { method test1 (line 147) | private static void test1() throws ScriptException { method createEngine (line 153) | private static NashornScriptEngine createEngine() { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn2.java class Nashorn2 (line 15) | public class Nashorn2 { method fun (line 17) | public static String fun(String name) { method fun2 (line 22) | public static void fun2(Object object) { method fun3 (line 26) | public static void fun3(ScriptObjectMirror mirror) { method fun4 (line 30) | public static void fun4(ScriptObjectMirror person) { method main (line 34) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn3.java class Nashorn3 (line 11) | public class Nashorn3 { method main (line 13) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn4.java class Nashorn4 (line 11) | public class Nashorn4 { method main (line 13) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn5.java class Nashorn5 (line 12) | public class Nashorn5 { method main (line 14) | public static void main(String[] args) throws Exception { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn6.java class Nashorn6 (line 14) | public class Nashorn6 { method main (line 16) | public static void main(String[] args) throws Exception { method getProduct (line 32) | public static void getProduct(ScriptObjectMirror result) { FILE: src/com/winterbe/java8/samples/nashorn/Nashorn7.java class Nashorn7 (line 11) | public class Nashorn7 { class Person (line 13) | public static class Person { method getName (line 16) | public String getName() { method setName (line 20) | public void setName(String name) { method getLengthOfName (line 24) | public int getLengthOfName() { method main (line 29) | public static void main(String[] args) throws ScriptException, NoSuchM... FILE: src/com/winterbe/java8/samples/nashorn/Nashorn8.java class Nashorn8 (line 12) | public class Nashorn8 { method main (line 13) | public static void main(String[] args) throws ScriptException, NoSuchM... FILE: src/com/winterbe/java8/samples/nashorn/Nashorn9.java class Nashorn9 (line 12) | public class Nashorn9 { method main (line 14) | public static void main(String[] args) throws ScriptException, NoSuchM... FILE: src/com/winterbe/java8/samples/nashorn/Product.java class Product (line 6) | public class Product { method getValueOfGoods (line 12) | public double getValueOfGoods() { method setValueOfGoods (line 16) | public void setValueOfGoods(double valueOfGoods) { method getName (line 20) | public String getName() { method setName (line 24) | public void setName(String name) { method getPrice (line 28) | public double getPrice() { method setPrice (line 32) | public void setPrice(double price) { method getStock (line 36) | public int getStock() { method setStock (line 40) | public void setStock(int stock) { FILE: src/com/winterbe/java8/samples/nashorn/SuperRunner.java class SuperRunner (line 6) | public class SuperRunner implements Runnable { method run (line 8) | @Override FILE: src/com/winterbe/java8/samples/stream/Optional1.java class Optional1 (line 8) | public class Optional1 { method main (line 10) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Optional2.java class Optional2 (line 13) | public class Optional2 { class Outer (line 15) | static class Outer { method getNested (line 18) | public Nested getNested() { class Nested (line 23) | static class Nested { method getInner (line 26) | public Inner getInner() { class Inner (line 31) | static class Inner { method getFoo (line 34) | public String getFoo() { method main (line 39) | public static void main(String[] args) { method resolve (line 45) | public static Optional resolve(Supplier resolver) { method test3 (line 55) | private static void test3() { method test2 (line 61) | private static void test2() { method test1 (line 69) | private static void test1() { FILE: src/com/winterbe/java8/samples/stream/Streams1.java class Streams1 (line 10) | public class Streams1 { method main (line 12) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams10.java class Streams10 (line 14) | public class Streams10 { class Person (line 16) | static class Person { method Person (line 20) | Person(String name, int age) { method toString (line 25) | @Override method main (line 31) | public static void main(String[] args) { method test1 (line 50) | private static void test1(List persons) { method test2 (line 60) | private static void test2(List persons) { method test3 (line 73) | private static void test3(List persons) { method test4 (line 81) | private static void test4(List persons) { method test5 (line 91) | private static void test5(List persons) { method test6 (line 102) | private static void test6(List persons) { method test7 (line 114) | private static void test7(List persons) { method test8 (line 129) | private static void test8(List persons) { method test9 (line 156) | private static void test9(List persons) { FILE: src/com/winterbe/java8/samples/stream/Streams11.java class Streams11 (line 9) | public class Streams11 { class Person (line 11) | static class Person { method Person (line 15) | Person(String name, int age) { method toString (line 20) | @Override method main (line 26) | public static void main(String[] args) { method test1 (line 42) | private static void test1(List persons) { method test2 (line 49) | private static void test2(List persons) { method test3 (line 62) | private static void test3(List persons) { method test4 (line 70) | private static void test4(List persons) { method test5 (line 86) | private static void test5(List persons) { method test6 (line 102) | private static void test6(List persons) { FILE: src/com/winterbe/java8/samples/stream/Streams12.java class Streams12 (line 13) | public class Streams12 { method main (line 15) | public static void main(String[] args) { method test4 (line 24) | private static void test4() { method test3 (line 50) | private static void test3(List strings) { method test2 (line 68) | private static void test2(List strings) { method test1 (line 82) | private static void test1() { FILE: src/com/winterbe/java8/samples/stream/Streams13.java class Streams13 (line 10) | public class Streams13 { method main (line 12) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams2.java class Streams2 (line 9) | public class Streams2 { method main (line 11) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams3.java class Streams3 (line 11) | public class Streams3 { method sortSequential (line 15) | public static void sortSequential() { method sortParallel (line 35) | public static void sortParallel() { method main (line 55) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams4.java class Streams4 (line 9) | public class Streams4 { method main (line 11) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams5.java class Streams5 (line 13) | public class Streams5 { method main (line 15) | public static void main(String[] args) { method test8 (line 29) | private static void test8(List stringCollection) { method test7 (line 40) | private static void test7(List stringCollection) { method test6 (line 50) | private static void test6(List stringCollection) { method test5 (line 63) | private static void test5(List stringCollection) { method test4 (line 82) | private static void test4(List stringCollection) { method test3 (line 100) | private static void test3(List stringCollection) { method test2 (line 114) | private static void test2(List stringCollection) { method test1 (line 128) | private static void test1(List stringCollection) { FILE: src/com/winterbe/java8/samples/stream/Streams6.java class Streams6 (line 12) | public class Streams6 { method main (line 14) | public static void main(String[] args) throws IOException { method test4 (line 21) | private static void test4() { method test3 (line 29) | private static void test3() { method test2 (line 36) | private static void test2() { method test1 (line 50) | private static void test1() { FILE: src/com/winterbe/java8/samples/stream/Streams7.java class Streams7 (line 10) | public class Streams7 { class Foo (line 12) | static class Foo { method Foo (line 16) | Foo(String name) { class Bar (line 21) | static class Bar { method Bar (line 24) | Bar(String name) { method main (line 29) | public static void main(String[] args) { method test2 (line 34) | static void test2() { method test1 (line 44) | static void test1() { FILE: src/com/winterbe/java8/samples/stream/Streams8.java class Streams8 (line 10) | public class Streams8 { method main (line 12) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/stream/Streams9.java class Streams9 (line 8) | public class Streams9 { method main (line 10) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/time/LocalDate1.java class LocalDate1 (line 14) | public class LocalDate1 { method main (line 16) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/time/LocalDateTime1.java class LocalDateTime1 (line 15) | public class LocalDateTime1 { method main (line 17) | public static void main(String[] args) { FILE: src/com/winterbe/java8/samples/time/LocalTime1.java class LocalTime1 (line 16) | public class LocalTime1 { method main (line 18) | public static void main(String[] args) {