List of snippet events

Robert Field robert.field at oracle.com
Sun Mar 19 08:37:05 UTC 2017


Good question.

int x, y, z;

Robert




On March 19, 2017 12:48:51 AM Michael Müller 
<michael.mueller at mueller-bruehl.de> wrote:

> 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