Submitted by heartin on Mon, 06/13/2016 - 12:11
Java 8 introduces few general purpose functional interfaces based on the input and output to the single abstract method.
Most common ones are:
-
Predicate<T> whose method
-
takes in an argument of type T and
-
rerturn a boolean.
-
Consumer<T> whose method
-
takes in an argument of type T and
-
rerturn nothing (void).
-
Function<T,R> whose method
Submitted by heartin on Mon, 06/13/2016 - 12:08
In functional programming, we think in terms of functions. While Object Oriented programming abstract over data, functional programming abstract over behavior. Instead of data, stateless functions are be passed across the code.
Lambda expressions are Java's way of doing functional programming. Lambda expressions in computer science are anonymous functions: a function (or a subroutine) defined, and possibly called, without being bound to an identifier.
Submitted by heartin on Thu, 06/02/2016 - 20:06
Git is a Distributes Version Control System for tracking changes in computer files and coordinating work on those files among multiple people.
It is primarily used for source code management in software development,[8] but it can be used to keep track of changes in any set of files.
Submitted by heartin on Mon, 05/23/2016 - 19:56
This is a quick summary of important annotations in Spring for doing core tasks in Spring. Some of them might have already been covered in examples. Some of them might be covered later. Some of them might be a variation of the already covered ones, so please feel free to try them out and let us know if you face any issues.
@Configuration, @Bean
You can use @Configuration to specify a Java configuration file.
Submitted by heartin on Sat, 05/14/2016 - 13:13
@Profile annotation allow you to register components that will be selected only if its associated profile is active. You can selectively activate a set of beans in a class or all beans .
Pages