Compress String with Run Length Encoding in Java

In this Java example, we’re gonna know how to compress String in Java with Run Length Encoding (RLE) method.

Related Posts:
Java Regular Expression Overview – Syntax
Java Regular Expression to extract data from a Text
Java Regular Expression to mask information from a Text

[Continue reading…] “Compress String with Run Length Encoding in Java”

Jackson JSON – Rename Properties with @JsonProperty, @JsonSetter and @JsonGetter example

In this tutorial, we’re gonna look at ways to rename Properties of a Class using @JsonProperty, @JsonSetter and @JsonGetter.

[Continue reading…] “Jackson JSON – Rename Properties with @JsonProperty, @JsonSetter and @JsonGetter example”

How to write Text File in Java by BufferedWriter

Java provides a BufferedWriter for writting content to File with high performance when performing with large number of write action. Because BufferedWriter decreases I/O interaction by using internal buffer to write data into File.
Related posts:
1. Java Read Text File by BufferedReader, Java 7,Java 8
2. How to delete non-empty Folder in Java

[Continue reading…] “How to write Text File in Java by BufferedWriter”

Java recursion – Towers Of Hanoi

Earlier in the tutorial Solution for find the N-th Fibonacci number, we have already known the methods that can be easily implemented with recursion and iteration. Today we will see a solution which demonstrates the power of recursion, and the iterative solution may not be a clearer method: Towers of Hanoi.

[Continue reading…] “Java recursion – Towers Of Hanoi”

Java Regular Expression to mask information from a Text

This tutorial shows you how to mask information from a Text using Regular expression.

Related articles:
Java Regular Expression Overview – Syntax
Java Regular Expression to extract data from a Text

[Continue reading…] “Java Regular Expression to mask information from a Text”