-
Logback Disable logging in Unit Test
While the unit test is running in the IDE, the Logback is showing a lot of configuration or status like this :
Date: 2019-08-17 View: 2202
-
Java 8 Filter a Map examples
Few Java examples to show you how to filter a Map with Java 8 stream API.
Date: 2019-08-17 View: 3340
-
How to read and write Java object to a file
Java object Serialization is an API provided by Java Library stack as a means to serialize Java objects. Serialization is a process to convert objects into a writable byte stream. Once converted into a byte-stream, these objects can be written to a file. The reverse process of this is called de-serialization.
Date: 2019-08-17 View: 1965
-
Java Swing JFileChooser example
JFileChooser is a quick and easy way to prompt the user to choose a file or a file saving location. Below are some simple examples of how to use this class.
Date: 2019-08-17 View: 1898
-
Java Compare Enum value
In Java, you can use == operator to compare Enum value.
Date: 2019-08-17 View: 3316
-
Java builder design pattern example
A complete Java builder pattern example.
Date: 2019-08-17 View: 1905
-
Java 8 Convert List to Map
Few Java 8 examples to show you how to convert a List of objects into a Map, and how to handle the duplicated keys.
Date: 2019-08-17 View: 2798
-
Java How to override equals and hashCode
Some Java examples to show you how to override equals and hashCode.
Date: 2019-08-17 View: 1567
-
Windows 10 Edit Hosts file
In this tutorial, we will show you how to add a mapping of IP addresses to host names in the Windows Hosts file.
Date: 2019-08-17 View: 2337
-
Java 8 – Stream Collectors groupingBy examples
In this article, we will show you how to use Java 8 Stream Collectors to group by, count, sum and sort a List.
Date: 2019-08-17 View: 3094
-
Windows 10 Can not create new folder
Suddenly, my Windows 10 is unable to create new folder:
Date: 2019-08-17 View: 1990
-
Java Stream has already been operated upon or closed
In Java 8, Stream cannot be reused, once it is consumed or used, the stream will be closed.
Date: 2019-08-17 View: 3478
-
Java How to convert Array to Stream
In Java 8, you can either use Arrays.stream or Stream.of to convert an Array into a Stream.
Date: 2019-08-17 View: 3097
-
Java 8 flatMap example
In Java 8, Stream can hold different data types, for examples:
Date: 2019-08-17 View: 2443
-
Java find class fields with specified data type
Some Java reflection API examples.
Date: 2019-08-17 View: 1832


