07 2012 档案

[Hibernate 的left join]Path expected for join!错误
摘要:使用条件如下:a left join ba must be b's parent 阅读全文

posted @ 2012-07-24 11:37 timelyxyz 阅读(522) 评论(0) 推荐(0) 编辑

ConcurrentModificationException
摘要:突然抛了一个concurrentModificationException错误,Iterator的一个基本概念没有掌握导致的这个错误,就是在Iterator的实现类。比如Hashtable里面的内部类private class Enumerator<T> implements Enumeration<T>, Iterator<T>会在next,或者remove的时候检查当前集合是否会在修改状态,如果是的话,就会抛出 ConcurrentModificationException,而他自己remove则是使用了同步的方法,而且同步了modCount;expec 阅读全文

posted @ 2012-07-17 17:01 timelyxyz 阅读(552) 评论(0) 推荐(0) 编辑

File.separator
摘要:API语法:File(String pathname)通过将给定路径名字符串转换为抽象路径名来创建一个新File实例。public static final String separator与系统有关的默认名称分隔符,为了方便,它被表示为一个字符串。此字符串只包含一个字符,即separatorCharpublic static final char separatorChar与系统有关的默认名称分隔符。此字段被初始化为包含系统属性 file.separator 值的第一个字符。在 UNIX 系统上,此字段的值为 '/';在 Microsoft Windows 系统上,它为 &# 阅读全文

posted @ 2012-07-10 17:12 timelyxyz 阅读(2832) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示