7:34 factory method, guava check argument, flyweight 16:50 overriding equals, hashcode 26:35 toString, Formattable 30:31 Comparable, guava ComparisonChain, Comparator 34:18 immutable list, sort 37:25 builder 47:31Enum, AttributeConverter 1:04:00 try-with-resources 1:07:35 Functional Interfaces 1:24:30 questions (threadsafe hashcode, code autogeneration) 1:29:28 Functional interfaces with Streams 1:42:58 Method Reference 1:48:02 Identity function 1:49:57 Optional 1:57:03 var 2:04:10 more in immutability and object creation 2:17:30 end, questions 2:23:38 more on method references
@hardsystem95225 жыл бұрын
very good
@mvmo47445 жыл бұрын
23:08 testNonNullity - As far as I can see it will just throw a NullPointerException if the object should really be null. Because the "instance" from which equals is called is null
@tariqboukouyen48413 жыл бұрын
Name of the opening song please?
@DevoxxFRvideos2 жыл бұрын
It's an Audio Jungle song. The intro was created by Nicolas Martignole (@nmartignole). He is also one of the Devoxx FR organizer.
@ΓιωργοςΣταμπολιδης-θ3ξ4 жыл бұрын
Yeah ...guava doesnt work on intellj and cant fix it either -_-
@yvoncolin25375 жыл бұрын
Nice talk. Does anyone know the IDE he is using?
@bandrefilipe5 жыл бұрын
IntelliJ
@yvoncolin25375 жыл бұрын
Thank you André. I really like this IDE, it seems that there is a little more sugar since I used it
@AkremAYADI6 жыл бұрын
26:46 the variable result in the method hashCode is useless !
@AlphaCode86 жыл бұрын
No, it's not. Using unsynchronized/non-volatile code is only guaranteed to work if there is only 1 read of hashCode because every consecutive read of that field could return 0 even though the first read could already see a different value. Check out the String's hashcode implementation and you'll understand.
@LemonChieff6 жыл бұрын
Most of the code is useless. 90% of it is boilerplate. Java is bad. I want to like it. I keep giving it (public static int) chances; and it keeps disappointing.
@georgemathew22416 жыл бұрын
@@LemonChieff WTF are you talking about when you say Java is bad !
@bandrefilipe5 жыл бұрын
What caused the exception thrown @ 43:34 ?
@iElvish5 жыл бұрын
I think its that he didnt set title so it was null and the checkState threw the error.