Java 8 introduces a new String manipulation API StringJoiner. Using StringJoiner, one can append multiple string values with the pre-defined format like commas, prefix and suffix. This syntax is very similar to the one used with the another framework Guava. StringJoiner Constructors This class takes two constructors: StringJoiner (delimiter) – Adds only the delimiter between the …
Java 8
Install Java 8 in Ubuntu
This post explains how to install Java 8 in your Ubuntu OS. If you are running Windows OS, it is straight forward to download the EXE file and install it. Even the same way you can do it for Ubuntu by loading the package. However, there is very simple and easy solution in Ubuntu is …
Eclipse Support for Java 8
Eclipse officially announced that it supports the latest Java version Java 8 from the version Luna 4.4. However, this is not the stable version and it is in the developer downloads. If you are using the latest stable eclipse version 4.3.2, it is very simple to install the patch using the instructions provided in this …
Java 8 Release and Features
Finally, Java 8 arrives on March 18, 2014. This release has been announced at EclipseCon 2014. It is the first major release in Java after two years of time. Java 8 comes with lot of new features which are new to the Java programming itself. From today you can download Java 8 and use it …
Enhanced Collections API in Java 8- Supports Lambda expressions
Continuing with our exploration of JSR-335 lets look at some of the enhancements to the collections API as part of the Project Lambda effort. A new feature in the language and not supported by the existing API is just not what the programmers would want. And this is what Brian Goetz and his team working …
Lambda Expressions in Java 8
Mike Duigou announced here that the Iteration 1 of Lambda Libraries is complete which includes support for defender methods, enhancement of the collection apis among other changes. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in Java 7.0 Before proceeding further its good to read about Functional …
What are Functional Interfaces and Functional Descriptor?
There is no Java developer who is not familiar with these Interfaces which contain only one method. If you are not familiar, no worries I will in the course of this article throw some light on such interfaces. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in …
Use of Virtual Extension methods in the Java 8 APIs
In wrote a bit about Virtual extension methods here and here. I thought of going over this implementation in the JDK, so that it will give us an idea of how these can be applied. also read: Java 8.0 Tutorials Java 7.0 Tutorials New Features in Java 7.0 G1 Garbage Collector in Java 7.0 As …