Here you can find the source of map(Map map, Object key)
public static Object map(Map map, Object key)
//package com.java2s; import java.util.Map; public class Main { public static Object map(Map map, Object key) { if (map == null) { return null; }// w w w .j a v a 2 s. c o m return map.get(key); } }