how to create a map with string as key and Arraylist as value in java

how to create a map with string as key and Arraylist as value in java
r‮fe‬er to:lautturi.com
/**
 * @author lautturi.com
 * Java example: how to get map with string as key and Arraylist as value in java
 */

import java.util.*;
import java.util.Map.Entry;

public class Lautturi {

	public static void main(String[] args) {

		ArrayList<Integer> list1 = new ArrayList<Integer>();
		ArrayList<Integer> list2 = new ArrayList<Integer>();
		ArrayList<Integer> list3 = new ArrayList<Integer>();
		for (int i = 1; i < 10; i++) {
			list1.add(i+1);
			list2.add(i+2);
			list3.add(i+3);
		}
		Map<String, ArrayList<Integer>> map = new HashMap<>();

		map.put("Apple",  list1);
		map.put("Banana", list2);
		map.put("Cherry", list3);
		
		for(Entry<String, ArrayList<Integer>> entry : map.entrySet()) {
			System.out.println(entry.getKey());
			ArrayList<Integer> tlist = entry.getValue();
			System.out.println(tlist);
	    }	

	}
}

output:

Apple
[2, 3, 4, 5, 6, 7, 8, 9, 10]
Cherry
[4, 5, 6, 7, 8, 9, 10, 11, 12]
Banana
[3, 4, 5, 6, 7, 8, 9, 10, 11]
Created Time:2017-09-11 23:57:50  Author:lautturi