Here you can find the source of getBigDecimal(Map map, String attr)
public static BigDecimal getBigDecimal(Map map, String attr)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; import java.util.Map; public class Main { public static BigDecimal getBigDecimal(Map map, String attr) { return (BigDecimal) map.get(attr); }/*from w w w .j av a 2 s. c o m*/ public static <T> T get(Map map, String attr) { return (T) (map.get(attr)); } public static <T> T get(Map map, String attr, Object defaultValue) { Object result = map.get(attr); return (T) (result != null ? result : defaultValue); } }