Having trouble viewing this email? Click here
Company Logo
 
Good afternoon from Crete,
 
may I ask for your help please?
 
I installed comments on my JavaSpecialists Newsletter website this morning, powered by Disqus. The infrastructure is there so that you can "have your say", but it looks a bit sad as no one has posted a comment yet.
 
We've published quite a few newsletters this year already. It would be amazing if you could pick your favourite one and leave a comment :-) Good or bad, critical or praise, all welcome. The comments section, begin only a few hours old, looks very bare. It's like no one is reading my articles :-)
 
Thanks so much - here is a list of this year's newsletters (the links take you to the comments sections):
  • New Year Day Spliterator: We build a simple custom Spliterator to allow us to stream over dates to find how many times the 1st of January was on a Monday.
  • Builder Pattern GoF vs Effective Java: What is the best-case computational time complexity for finding a method inside a class via reflection? In this newsletter we do not answer that question. Instead, we look at the GoF Builder and wonder whether anyone has ever used it in Java.
  • Big O Cost of Class.getMethod(): We now look at why the best-case scenario for a getMethod() call is O(n), not O(1) as we would expect. We also discover that the throughput of getMethod() has doubled in Java 9.
  • Java 10: Inferred Local Variables: Local variable type inference is finally here, but dangers lurk. We might encourage overly long methods and lose the benefits of interface abstraction.
  • Java 10: Parallel Full GC in G1GC: Apparently Full GC is done in parallel in the Java 10 G1 collector. Or is it? In this newsletter we set out to discover the truth by dumping the GC CPU usage with the new Unified JVM Logging.
  • CountDownLatch vs Phaser: Java 7 gave us a brilliant new class called Phaser, which we can use to coordinate actions between threads. It replaces both CountDownLatch and CyclicBarrier, which are easier to understand, but harder to use.
  • ShuffleCollector: Sorting a stream is easy. But what if we want the opposite: shuffling? We can shuffle a List with Collections.shuffle(List). But how can we apply that to a Stream? In this newsletter we show how with Collectors.collectingAndThen().
Thanks so much for your help!
 
Heinz
If you no longer wish to receive our emails, click the link below:
Unsubscribe
Cretesoft Limited 77 Strovolos Ave Strovolos, Lefkosia 2018 Cyprus