All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.devtools.v2.OO0OOOO0O00OO0OO Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
 * 

* ---- 版权声明 ---- * Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。 * Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。 * * 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。 * 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。 * * 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底! *

*/ package com.diboot.devtools.v2; import com.diboot.core.util.JSON; import com.diboot.core.util.V; import java.util.List; import java.util.Map; @Deprecated() public class OO0OOOO0O00OO0OO { @Deprecated() public static R l1lllll1l11l1l1(Map lllll1ll1l11, T ll1111ll1l1l) { Object lll1ll1l1l1l = lllll1ll1l11.get(ll1111ll1l1l); return V.notEmpty(lll1ll1l1l1l) ? (R) lll1ll1l1l1l : null; } @Deprecated() public static String l111l11ll1lllll(Map ll11l1l1l11l, T l1ll1l1l1l1l) { Object l1llll111l11 = ll11l1l1l11l.get(l1ll1l1l1l1l); return V.notEmpty(l1llll111l11) ? String.valueOf(l1llll111l11) : ""; } @Deprecated() public static C ll1l11l1l1ll111(Map l1ll1lll1l1l, T lll111111ll1, Class l1l111ll1l1l) { Object l1ll1l11l1l1 = l1ll1lll1l1l.get(lll111111ll1); return V.notEmpty(l1ll1l11l1l1) ? JSON.parseObject(JSON.stringify(l1ll1l11l1l1), l1l111ll1l1l) : null; } @Deprecated() public static List lll1l11l1111l1l(Map ll111l1l1l11, T lllll1l11ll1, Class lllllll1llll) { Object lll1l1l1111l = ll111l1l1l11.get(lllll1l11ll1); return V.notEmpty(lll1l1l1111l) ? JSON.parseArray(JSON.stringify(lll1l1l1111l), lllllll1llll) : null; } @Deprecated() public static boolean ll11l1llll1l11l(Map lll1l1111lll, T ll1111ll11ll) { return V.isEmpty(l1lllll1l11l1l1(lll1l1111lll, ll1111ll11ll)); } @Deprecated() public static boolean l1llllll11l11l1(Map l111ll1l11ll, T l111lll11111, R ll1l111lll1l) { R lllll1l111l1 = l1lllll1l11l1l1(l111ll1l11ll, l111lll11111); return V.equals(lllll1l111l1, ll1l111lll1l); } @Deprecated() public static Map ll11ll11ll1111l(Object lll1ll11l11l) { if (lll1ll11l11l != null && lll1ll11l11l instanceof String) { return JSON.parseObject((String) lll1ll11l11l); } return JSON.parseObject(lll1ll11l11l == null ? "{}" : JSON.stringify(lll1ll11l11l)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy