Here you can find the source of putIntoMap(String key, Object value)
public static HashMap<String, Object> putIntoMap(String key, Object value)
//package com.java2s; //License from project: Apache License import java.util.HashMap; public class Main { private static HashMap<String, Object> map = new HashMap<String, Object>(); /**/* ww w . ja v a2 s .c om*/ * If the value is equal to {skip} then it will be skipped from adding */ public static HashMap<String, Object> putIntoMap(String key, Object value) { if (!value.equals("{skip}")) { map.put(key, value); } return map; } }