How to integrate RxJava into Android App with examples

In this tutorial, grokonez.com shows you way to integrate RxJava 2 into Android App, along with 3 simple examples that apply RxJava:

  • CompoundButton (Switch) updates TextView
  • Update TextView when text length in EditText changes
  • Reactive Text search

[Continue reading…] “How to integrate RxJava into Android App with examples”

How to use ArrayList in Java with Example Programs

Java ArrayList is a dynamic array with resizable-array implementation of Java List interface. In the tutorial, we will learn how to use Java ArrayList by examples:

  • What is Java ArrayList?
  • How to construct a Java ArrayList?
  • Do a Set Operations with Java ArrayList
  • How to Sort Java ArrayList?
  • Use Java ArrayList with Multi-Thread Environment

Related posts:
How to use Java Stack with Examples
How to use Java PriorityQueue with Examples

[Continue reading…] “How to use ArrayList in Java with Example Programs”

How to use Java Stack with Examples

In the tutorial, Grokonez will introduce how to use Java Stack with Examples:

  • How does Java Stack work?
  • Hierarchy of Java Stack
  • Do push, pop, peek, search operations with Java Stack data structure

Related posts:
How to use Java PriorityQueue with Examples
How to use Java TreeMap with Examples

[Continue reading…] “How to use Java Stack with Examples”

How to use Java PriorityQueue with Examples

In the tutorial, Grokonez introduces how to work with Java PriorityQueue by examples:

  • How does Java PriorityQueue work?
  • Explore Java PriorityQueue Hierarchy
  • Create Java PriorityQueue with Integer, String, and Custom Object Class

Related posts:
Java TreeMap with Examples

[Continue reading…] “How to use Java PriorityQueue with Examples”

How to use Java 8 Stream Collectors.groupingBy() Examples


In the tutorial, Grokonez will show how to use Grouping By APIs of Java Stream Collectors by examples:

  • Explore Stream GroupingBy Signatures
  • Combine groupingBy API with others Reduction Operations

Now let’s do more details!

Related posts:
Java Stream.Collectors APIs Examples
Java 8 Stream Reduce Examples

[Continue reading…] “How to use Java 8 Stream Collectors.groupingBy() Examples”

Java 8 Stream.collect() – Stream.Collectors APIs Examples


Java 8 provides an extremely powerful abstract concept Stream with many useful mechanics for consuming and processing data in Java Collection. In the tutorial, We will do lots of examples to explore more the helpful of Stream API with Collectors operation on the specific topic: “Java 8 Stream Collector”.

What will we do?

  • Explore Stream Collect Method signatures
  • Apply Stream Collectors Util with Examples

Now let’s do more details!

Related posts:
Java 8 Stream Reduce Examples
Java 8 Stream FlatMap Examples

[Continue reading…] “Java 8 Stream.collect() – Stream.Collectors APIs Examples”

How to use Java 8 Stream Reduce Examples with List and Array


Java 8 provides an extremely powerful abstract concept Stream with many useful mechanics for consuming and processing data in Java Collection. In the tutorial, We will do lots of examples to explore more the helpful of Stream API with reduction operation on the specific topic: “Java 8 Stream Reduce Collection”.

What will we do?

  • Explain how Java 8 Stream Reduce work?
  • Apply Stream Reduction on Java List, Array

Now let’s do examples for more details!

Related posts:
Java 8 Stream FlatMap Examples
Stream Filter in Java 8

[Continue reading…] “How to use Java 8 Stream Reduce Examples with List and Array”

How to use Java 8 Stream FlatMap Examples with List, Array


In the tutorial, we will discover more aspect of Java 8 Stream API with flatMap() function by lots of examples.
What we will do:

  • Explain how Java 8 Stream FlatMap work?
  • Apply Stream FlatMap on Java List, Array

Now let’s do more details!

Related posts:
Java 8 Stream Map Examples
Java 8 Stream Filter Examples

[Continue reading…] “How to use Java 8 Stream FlatMap Examples with List, Array”

How to use Java 8 Stream Map Examples with a List or Array


Converting or transforming a List and Array Objects in Java is a common task when programming. In the tutorial, We show how to do the task with lots of Java examples code by 2 approaches:

  • Using Traditional Solution with basic Looping
  • Using a powerful API – Java 8 Stream Map

Now let’s do details with examples!

Related posts:
Java 8
Java 8 Streams

[Continue reading…] “How to use Java 8 Stream Map Examples with a List or Array”

Java – How to use Stream Filter in Java 8 with List & Array Examples


Java 8 provides an extremely powerful abstract concept Stream with many useful mechanics for consuming and processing data in Java Collection. In the tutorial, We will use lots of examples to explore more the helpful of Stream API with filtering function on the specific topic: “Filter Collection with Java 8 Stream”.

What will we do?

  • How to filter List with traditional approach?
  • Use Java 8 Stream to filter List and Array Objects
  • Apply filter() function with other util functions of Stream API in practice

Now let’s do examples for more details!

Related posts:
Java – How to find an element in a Java List Object by Examples
Java 8 Streams

[Continue reading…] “Java – How to use Stream Filter in Java 8 with List & Array Examples”