Java Directory Listener

Java Directory Listener

Java Directory Listener In Java 7 you can use java.nio.file package that to listen directory change events. In this example you will see how to create Java directory listener which will listen supported StandardWatchEventKinds event types below: ENTRY_CREATE – Directory … Continue reading

Java Lambda Predicate Example

Java Lambda Predicate Example Java 8 has provided Predicate functional interface which can be use to evaluate values from object or compare primitive type. You can also include multiple condition to Predicate interface. To understand please see example below: