Blog: Lanky Dan Dev Blog (Dan Newton)

210 blogs updated: 45 min. ago
Java friendly Kotlin - default arguments
Kotlin functions and constructors can define default arguments, allowing calls to them to skip any argument that has a default value. This
25-06-2020 12:01:58 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Transaction savepoints in Spring JDBC
Savepoints allow you to create markers within a transaction which you can rollback to, without preventing the transaction from being
15-06-2020 10:50:15 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Cancelling coroutines
Sooner or later, you will need to cancel a coroutine that you started. Let's look at how you can do just that. How to cancel a job One of
11-05-2020 22:12:23 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Waiting for coroutines
Coroutines allow you to execute tasks asynchronously without blocking the calling thread, such as the main thread. Great, but sometimes you
26-04-2020 19:42:54 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Launching your coroutine knowledge
Coroutines are essentially lightweight threads that allow your applications to squeeze more juice out of the machines they are running on
17-04-2020 13:29:02 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Java friendly Kotlin - static functions
In this post, we will look at writing static functions in Kotlin that treat Java callers as first-class citizens. Recap There are three ways...
18-03-2020 15:17:46 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Calling Java Functional Interfaces from Kotlin
Basics Below is a Functional Interface defined in Java: Note, that an interface does not need to be annotated with to be treated as one. In
10-02-2020 13:19:09 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Responder flow validation (part 3 - overriding)
To finish off my trilogy of blog posts on including validation inside your responder flows, I present to you the final topic. How to
10-02-2020 01:04:00 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Serializable Java Lambdas
Recently I was presented with the following error when serializing a lambda with Kryo: If you do not recognise the syntax, don't worry, it
09-02-2020 18:23:00 Lanky Dan Dev Blo ... (Dan Newton) Advanced
Removing elements from a Map in Java
Very short and simple post on removing elements from a Map in Java. We will be focusing on removing multiple elements and ignore the fact yo...
04-03-2019 00:38:24 Lanky Dan Dev Blo ... (Dan Newton) Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.