List of snippet events

Michael Müller michael.mueller at mueller-bruehl.de
Sun Mar 19 07:48:43 UTC 2017


List<SnippetEvent> events = js.eval(input);


input: "int i = 4;" --> one snippet event

input: "for (int i = 1; i < 10; i++) {System.out.println(i);}" --> one 
snippet event

Till now, I every call to eval I made resulted in a list with exactly 
one element. In which situationwill the eval method return a different 
count of elemts?

Or is is one element every time? If yes, why need the result to be a list?


Herzliche Grüße - Best Regards,

Michael Müller
Brühl, Germany
blog.mueller-bruehl.de <http://blog.mueller-bruehl.de/>
it-rezension.de <http://it-rezension.de/>
@muellermi


Read my books
   "Web Development with Java and JSF": https://leanpub.com/jsf
   "Java Lambdas and Parallel Streams": 
http://www.apress.com/de/book/9781484224861
   "Visitors" a photographic image book: https://leanpub.com/visitors



More information about the kulla-dev mailing list