更正之后的 (String)("1".equals(mapList.get(i).get("sex").toString())?"男":"女")
判段字符串 出错
原创mb6444ed45406a4 ©著作权
©著作权归作者所有:来自51CTO博客作者mb6444ed45406a4的原创作品,请联系作者获取转载授权,否则将追究法律责任
错误的(String)("1"==(mapList.get(i).get("sex").toString())?"男":"女")
更正之后的 (String)("1".equals(mapList.get(i).get("sex").toString())?"男":"女")
更正之后的 (String)("1".equals(mapList.get(i).get("sex").toString())?"男":"女")
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Java-长字符串加密
加密:为你的长字符串提供最高级别的保护!!!
加密算法 JAVA