Cleaner, readable, and powerful coding with Java SE 8 New DateTime API JSR 310 ….. In the previous article “Processing Collections with Streams API”; I have deeply dived into explanation, and exploration on how to traversing collections with streams, Creating streams from collections and arrays, and finally Aggregating stream values.In this article of the “Java SE 8 new features tour” ...
Read More »Home »
Java SE 8 new features tour: Processing Collections with Streams API
Cleaner, readable, and powerful coding with Java SE 8 Streams….. In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code, on how to traversing collections with streams Creating streams from collections and arrays, Aggregating stream values. In the previous article “Traversing, filtering, processing collection, & methods enhancements with ...
Read More »Java SE 8 new features tour: Traversing, filtering, processing collection, & methods enhancements with Lambda
In this article of the “Java SE 8 new features tour” series, we will deep dig into explanation, and exploring the code, on how to traverse the collections using lambda expression and with method references, filtering them with predicate interface, implementing default methods in interfaces, and finally implementing static methods in interfaces. In the previous article “Functional programming with Lambda ...
Read More »IDE: 5 most favorite NetBeans features
Development with pleasure…. NetBeans has many interesting features that make development very easy, with few steps, and makes for a very productive environment, in terms of getting your product to market very quickly. It is very hard to limit my talking to only five features, while this IDE has tons of interesting features. But here I am going to mention ...
Read More »Java SE 8 new features tour: Functional programming with Lambda Expression
This article of the “Java SE 8 new features tour” series will deep dive into understanding Lambda expressions. I will show you a few different uses of Lambda Expressions. They all have in common the implementation of functional interfaces. I will explain how the compiler is inferring information from code, such as specific types of variables and what is really ...
Read More »Java SE 8 new features tour: The Big change, in Java Development world
I am proudly one of the adopt-OpenJDK members like others professional team members but joined from last 8 months, and we went through all stages of Java SE 8 development, compilations, coding, discussions … etc., until we bring it to the life. And it is released on March 18th 2014 and it is now available for you. I am happy ...
Read More »JavaSE: How to SET/GET your own Files and Directory Attributes
In the previous article “Determining Views Supported by a Particular File System” and see how to ask the file system store, and see supportability of a particular file attribute view. We are going to explore in a nutshell, one of the most advanced and important files attribute views which is User-Defined File Attributes View. Particularly, I am using this feature ...
Read More »JavaSE 7,8: Determining Views Supported by a Particular File System
If you have questions about a file or a directory, such as whether it is hidden, whether it is a directory, what its size is, and who owns it, you can get answers to those questions (and many others) from the metadata, which is data about other data. NIO.2 associates the notion of metadata with attributes and provides access to ...
Read More »JSF: Passing parameters to JSF action methods from page directly, a nice feature of JavaEE 6+
One of the JSF 2+ nice features presented in Java enterprise edition JavaEE 6+, is that you can pass parameters to any action components action method like commandButton or commandLink components. Based on that you can minimize the number of methods inside your managed bean. In addition, to minimize many parameters to set inside the bean to be used by ...
Read More »