-
Java How to split a string
To split a string, uses String.split(regex). Review the following examples :
Date: 2019-08-17 View: 1520
-
Java How to display all Environment variable
In Java, you can use System.getenv() to return a Map with all the environment variables.
Date: 2019-08-17 View: 1520
-
Java 8 Stream Read a file line by line
In Java 8, you can use Files.lines to read file as Stream.
Date: 2019-08-17 View: 1520
-
How to Install Oracle JDK 8 On Debian
In this tutorial, we will show you how to install Oracle JDK 8 On Debian, manually.
Date: 2019-08-17 View: 1520
-
Java RMI Hello World example
RMI stands for Remote Method Invocation and it is the object-oriented equivalent of RPC (Remote Procedure Calls). RMI was designed to make the interaction between applications using the object-oriented model and run on different machines seem like that of stand-alone programs.
Date: 2019-08-17 View: 1520
-
Java How to print an Array
In this article, we will show you a few ways to print a Java Array.
Date: 2019-08-17 View: 1520
-
Java Mutable and Immutable Objects
This article shows you the difference between Mutable and Immutable objects in Java
Date: 2019-08-17 View: 1520
-
Java How to join Arrays
In this article, we will show you a few ways to join a Java Array.
Date: 2019-08-17 View: 1520
-
Java 8 StringJoiner example
In this article, we will show you a few StringJoiner examples to join String.
Date: 2019-08-17 View: 1520
-
Java 8 Streams filter examples
In this tutorial, we will show you few Java 8 examples to demonstrate the use of Streams filter(), collect(), findAny() and orElse()
Date: 2019-08-17 View: 1520
-
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: 1520
-
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: 1520
-
Java builder design pattern example
A complete Java builder pattern example.
Date: 2019-08-17 View: 1520
-
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: 1520
-
Java How to override equals and hashCode
Some Java examples to show you how to override equals and hashCode.
Date: 2019-08-17 View: 1520