Here you can find the source of getTime(Map map, String attr)
public static java.sql.Time getTime(Map map, String attr)
//package com.java2s; //License from project: Open Source License import java.util.Map; public class Main { public static java.sql.Time getTime(Map map, String attr) { return (java.sql.Time) map.get(attr); }//w ww .j a v 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); } }