Java 8 facilitates several functional interface in java.util.function package. If we observe carefully, there are primarily four kinds of interfaces provided in this package, which are:
* Supplier
* Consumer
* Function
* Predicate
with
With Maven, we can achieve the similar effect of invalidating local dependency cache and download artifacts from repository by using following command.
mvn -U
Stream represents a sequence of values. Stream API, introduced in JAVA 8 (JSR-355 [1]) enables declarative specification of computation on data. It may also interesting to note that it imposes no restriction
Using following Maven command, the version of artifacts can be updated in a multi-module maven project.
mvn versions:set -DnewVersion='new-version'For instance, the following maven command updates the
In my job, we work with a maven multi-module project. While using maven, I have discovered several commands that are quite effective during development. In this post, and in the upcoming posts