Introduction

MapBuilder provides a fluent method for creating Maps.

Usage

Map<String, Object> srcMap = MapBuilder
 .create(new HashMap<String, Object>())
 .put("name", "AAA")
 .put("age", 45).map();