---
# System prepended metadata

title: Compare
tags: [Note, java]

---

---

robots: index, follow
lang: zh-tw
dir: ltr
breaks: true
title: Compare     # 簡報的名稱
tags: java,Note  # 簡報的標籤

---

# Compare

## 2 Object
---

![](https://i.imgur.com/ElrNktG.png)


---

## 2 List

---

![](https://i.imgur.com/w2gVPur.png)

---

## 2 Map

---
### 1.Using the Java Stream API

### 2.Comparing HashMap Keys and Values

### 3.Map Difference Using Guava

### ref:
https://www.baeldung.com/java-compare-hashmaps#using-the-java-stream-api

---