Here you can find the source of toArrayListHashMapStrObj(Object object)
Parameter | Description |
---|---|
object | a parameter |
@SuppressWarnings("unchecked") public static ArrayList<HashMap<String, Object>> toArrayListHashMapStrObj(Object object)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.HashMap; public class Main { /**// w w w . ja v a 2 s. co m * replacement of casting as from Object to * <tt>ArrayList<HashMap<String, Object>></tt> without annoying * warning. * * @param object * @return object it self which is casted as return type. */ @SuppressWarnings("unchecked") public static ArrayList<HashMap<String, Object>> toArrayListHashMapStrObj(Object object) { if (object == null) { return null; } return (ArrayList<HashMap<String, Object>>) object; } }