Programming

Java lambdas

Local Variable Syntax For Lambda Parameters

We look at local variable syntax for lambda parameters in this article. This is an enhancement available in JDK 11. The local variable syntax for lambda parameters allows us to use the var reserved type name when declaring the formal parameters of implicitly typed lambda expressions.

Continue reading →
Local variable type inference: detective with the label "compiler" using a magnifying glass to inspect a red block labeled "local variable"

Local Variable Type Inference

Local variable type inference in java is a way to extend the type inference mechanism to local variable declarations with initializers. This was a preview language feature in JDK 10, and is now permanent.

Continue reading →

Java Text Blocks

Text blocks were a preview language feature in JDK 13 and JDK 14. A Java text block is a multi-line string literal that doesn’t need us to use escape sequences. It makes our life much easier.

Continue reading →
Project Lombok - image of chillis

Project Lombok

Project Lombok is a 3rd party library that defines a number of annotations and associated annotation processors. This can lead to faster coding for domain classes, with less code to maintain.

Continue reading →
Java records - image of old-fashioned record player

Java Records (Part 2)

In this article we continue our examination of Java records. Remember that Java records were introduced in Java 14. Let’s look at the features and restrictions of Java records.

Continue reading →
Java records - image of old-fashioned record player

Java Records (Part 1)

Have you been wondering about Java records? With the release of Java 14, we can now use records to easily create immutable data objects. In this article we look at what a Java record is, and how to implement it.

Continue reading →

Thank You

We're Excited!

Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)

Don't Worry

Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.

If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com

How can we help you?

Let us contact you about your training requirements. Just fill in a few details, and we’ll get right back to you.