com.spun.util.MapBuilder Maven / Gradle / Ivy
package com.spun.util;
import java.util.HashMap;
public class MapBuilder extends HashMap
{
private static final long serialVersionUID = 1L;
public MapBuilder(K key, V value)
{
and(key, value);
}
public MapBuilder and(K key, V value)
{
put(key, value);
return this;
}
}