摘要: 1.数组声明格式: 数据类型 [] 数组名 = new 数据类型[长度]; 数组长度一旦确定无法更改。 数组里的数据必须是相同类型或自动向上转型后兼容的类型 2.数组遍历 阅读全文
posted @ 2019-03-20 17:08 小芝麻开花 阅读(166) 评论(0) 推荐(0) 编辑
摘要: //转换成Integer类型public static Integer TryParseToInteger(Object obj, String name) throws ApiSrvException { Integer result = null; if (obj != null&&!obj.e 阅读全文
posted @ 2019-03-20 17:03 小芝麻开花 阅读(207) 评论(0) 推荐(0) 编辑