这个....不知道,哪里能看到Vector的实现方法?要是能看到最低层代码就好了
楼主可以做个测试 :) 我的机子太烂,测试就......
楼主可以做个测试 :) 我的机子太烂,测试就......
解决方案 »
- 我用的是SSH中编写hql语句,查询的时候使用rownum取前六位,在oracle中可以查出数据,但是hql查询却没有?
- 千古奇冤,我是如何删除自己eclipse项目的文件的。大家看看能找出原因吗?
- oscache 缓存jsp 动态页面的问题
- 关于在JLabel上放的图片在鼠标拖动时候不仅仅一闪一闪的,而且有时候图片会消失(有代码)50分~
- 求助:用什么方法可以知道系统当前默认编码啊
- java中怎么截屏,保存为文件或字节数组中
- 请教关于Java做MDI风格的几个问题
- 这个提示是什么怎么啦???
- java有没有延时的方法???
- 我有很多以前发的帖子,没有人回答,我想把它们删除,如何操作?
- String不是引用型嗎
- Jtable添加背景图片或改变指定行的颜色
Resizable-array implementation of the List interface. Implements all optional list operations, and permits all elements, including null. In addition to implementing the List interface, this class provides methods to manipulate the size of the array that is used internally to store the list. (This class is roughly equivalent to Vector, except that it is unsynchronized.)
The iterators returned by this class's iterator and listIterator methods are fail-fast: if list is structurally modified at any time after the iterator is created, in any way except through the iterator's own remove or add methods, the iterator will throw a ConcurrentModificationException. Thus, in the face of concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary, non-deterministic behavior at an undetermined time in the future. Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent modification. Fail-fast iterators throw ConcurrentModificationException on a best-effort basis. Therefore, it would be wrong to write a program that depended on this exception for its correctness: the fail-fast behavior of iterators should be used only to detect bugs.