Graph videos are next. They will be live soon.
Category: Articles
JDK Language Feature Preview in Action: Switch Expressions
JEP 12 [“Preview Language and VM Features”] is described on its main page as follows: A preview language or VM feature is a new feature o…
Appeals Court Refuses to Hear Latest in $8.8 Billion Java Copyright Dispute — ADTmag
And so, finally, after eight long years, can this really be the end of the seemingly immortal court battle between Oracle and Google over those 37 Java APIs? The answer is … probably not.
Java StackTrace to String Example – HowToDoInJava
Java program to convert error stack trace to String. StackTrace to String conversion may be useful to print stack trace in custom logs.
Oracle Java tutorial – possible error at answer to question
I’m new to Java, reading Oracle tutorial.After each section, there are questions and answers, and I don’t understand a sentence within one answer (see below bolded line).source is https://docs.o…
Java – Right pad a string with spaces or zeros – HowToDoInJava
Java example to right pad a string with spaces or zeros – in such a way that total string length should be a fixed number. It uses StringUtils class.
How to use the SonarQube Maven Plugin for continuous inspection
The key to maintaining code quality is to continuously inspect your code. This SonarQube Maven Plugin example shows how easy it is to analyze Java source code.
Java String charAt() method example – HowToDoInJava
Java String charAt() method example. It returns the character at the specified index argument in the string object or literal. Argument must be valid index.
Java – Left pad a string with spaces or zeros – HowToDoInJava
Java example to left pad a string with spaces or zeros to format it for display purpose. It uses StringUtils class available in Apache commons lang library.
Java 10 migration from Java 8. Running services in production
We want to migrate all our production services to Java 10 from Java 8. As I understood, we might face issues with builds (gradle etc.), dependencies etc. for development. But when it comes just to …
Java remove extra white spaces between words in String
Learn to remove extra white spaces between words in a String in Java. Do not forget to check if string has leading or trailing spaces. Trim such Strings.
Understanding Jakarta EE: “Jakarta EE should address some of Java EE’s past shortcomings” – JAXenter
Confused about what’s going on with Jakarta EE? This interview series is meant to help you navigate through the changes. Our next guest is Sebastian Daschner
Java 8+ stream: Check if list is in the correct order for two fields of my object-instances
The title may be a bit vague, but here is what I have (in privatized code):A class with some fields, including a BigDecimal and Date:class MyObj{ private java.math.BigDecimal percentage; pr…
Java 8 StringJoiner Example – HowToDoInJava
Java 8 StringJoiner example to join list or array of strings, primitives such as integers and longs. Use StringJoiner with delimiter, prefix and suffix.
Stream Ordering | Baeldung
Learn about some of the underlying intricacies of Java 8 Stream ordering