IMO, stream API is totally replaceable (almost unnecessary), 80% of your
uses cases can be solved with lamdas + Guava FluentIterables, and for
advanced use cases libraries like RxJava (or whatever implements reactive
streams interfaces) or IxJava are much more advanced and easy to extends.
Not sure
Thomas is rigth, using lambdas is are really game changer for subscribing (you
have 6 lines less on each one) to handlers and also you can use guava Optional
class and functional idioms until idioms
until we have fully java8 streams.
Be aware that current GWT-2.8.0-SNAPSHOT compiler doesn't supp
On Monday, June 15, 2015 at 3:49:10 PM UTC+2, Ivan Hetman wrote:
>
> Thanks, got it. But why don't release special GWT 2.8 version with source
> level 1.8 only? Without improved collection API Java 8 benefits in GWT are
> low.
>
You can write lambdas and use defender methods in your own interf
Thanks, got it. But why don't release special GWT 2.8 version with source
level 1.8 only? Without improved collection API Java 8 benefits in GWT are
low.
четвер, 11 червня 2015 р. 23:59:09 UTC+3 користувач Thomas Broyer написав:
>
> You cannot use "classic" DevMode with a Java 7 JVM and -sourceL
You cannot use "classic" DevMode with a Java 7 JVM and -sourceLevel 8, and that
includes GWTTestCases (unless run in prod mode); so forcing sourceLevel 8 would
mean requiring Java 8, and because of issues with using a Java 8 JDK while
targeting a Java 7 runtime JVM, this is not something we can
>
>
> You can compile java even 1.2 source code with JDK 1.8, so what is the
> problem with compiling Java 7 source with GWT for Java 8 emulation?
> Interfaces also should not be broken because of default methods in
> interfaces (that can just be ignored in sourceLevel < 8). Can you give
> exa
Hi Thomas, thanks for the answer.
You can compile java even 1.2 source code with JDK 1.8, so what is the
problem with compiling Java 7 source with GWT for Java 8 emulation?
Interfaces also should not be broken because of default methods in
interfaces (that can just be ignored in sourceLevel < 8)
On Thursday, June 11, 2015 at 2:58:09 PM UTC+2, Ivan Hetman wrote:
>
> Hi. I used GWT 2.8.0-SNAPSHOT to try it on my projects to reduce
> boilerplate code. But I was confused when I tried listeners.forEach() and
> compiler said that there is no such method in Set (i. e. Iterable). Also as
> i n
Hi. I used GWT 2.8.0-SNAPSHOT to try it on my projects to reduce
boilerplate code. But I was confused when I tried listeners.forEach() and
compiler said that there is no such method in Set (i. e. Iterable). Also as
i noticed, default methods or class::method work. But there are no streams,
cons