摘要: <or> <reference definitionId="com.teamcenter.rac.pse.inMainView"/> </or> <iterate ifEmpty="false"> <adapt type="com.teamcenter.rac.kernel.TCComponent" 阅读全文
posted @ 2021-03-02 10:15 信铁寒胜 阅读(92) 评论(0) 推荐(0)
摘要: 1、如果是空指针异常,则e.getMessage()获取的保存信息为null。这点需要注意下 阅读全文
posted @ 2021-03-01 10:03 信铁寒胜 阅读(1354) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-02-28 13:46 信铁寒胜 阅读(120) 评论(0) 推荐(0)
摘要: public class splitTest { public static void main(String[] args) { String a = "@123"; String b = "123@"; String c = "3@@@"; String[] aArr = a.split("@" 阅读全文
posted @ 2021-02-28 12:38 信铁寒胜 阅读(192) 评论(0) 推荐(0)
摘要: 伍:主要是要加上转义字符 1、split方法转化字符串为数组: String[] strPicArr = map.get("hw_pic").toString().split("*"); 报错: java.util.regex.PatternSyntaxException: Dangling met 阅读全文
posted @ 2021-02-28 12:35 信铁寒胜 阅读(1770) 评论(0) 推荐(0)
摘要: 需求:只要名字相同,就判断是同一个用户 1、重写equals方法 public static class Student{ private String name; private int age; // @Override // public int hashCode(){ // final in 阅读全文
posted @ 2021-02-27 15:39 信铁寒胜 阅读(97) 评论(0) 推荐(0)
摘要: 解决办法: 导致这个问题的原因是插入的分页符或者空白页,并且在空白页或者分页符前面没有空白行,多按几次回车将分页符或者空白页符向后推移一点,留出空白行,这里样就正常了 阅读全文
posted @ 2021-02-26 13:45 信铁寒胜 阅读(3637) 评论(0) 推荐(0)
摘要: String splitStr = Pattern.compile("[^0-9]").matcher(currentName).replaceAll(""); 通过这个操作来截取数字 阅读全文
posted @ 2021-02-26 07:16 信铁寒胜 阅读(923) 评论(0) 推荐(0)
摘要: 注意:1、后面用uniqueResult() 2、返回的是Long而不是Integer 阅读全文
posted @ 2021-02-25 09:37 信铁寒胜 阅读(292) 评论(0) 推荐(0)
摘要: 通过BoderLayout.crateEmptyBorder()可以设置 阅读全文
posted @ 2021-02-24 22:29 信铁寒胜 阅读(622) 评论(0) 推荐(0)