Here you can find the source of join(List
public static <K, V> Map<K, V> join(List<Map<K, V>> list)
//package com.java2s; //License from project: Apache License import java.util.HashMap; import java.util.List; import java.util.Map; public class Main { public static <K, V> Map<K, V> join(List<Map<K, V>> list) { if (list == null) { return null; }//from w ww . j av a 2 s . c om Map<K, V> result = new HashMap<K, V>(); for (int i = 0; i < list.size(); i++) { Map<K, V> map = list.get(i); if (map != null) { result.putAll(map); } } return result; } }