vector java
时间: 2023-10-15 09:27:58 浏览: 73
dv.rar_DV-Distance_distance vector_distance vector java_distance
Vector是Java中的一个集合类,它实现了List接口,和ArrayList用法基本相同。它有两个构造方法,一个是无参构造方法,另一个是有两个参数的构造方法。有两个参数的构造方法指定了初始空间的大小和扩容增量。Vector的定义如下:public class Vector<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Java编程学习-集合(Vector类)](https://blog.csdn.net/Ego_Ekko/article/details/126540568)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Java中关于Vector的基本使用](https://blog.csdn.net/pipizhen_/article/details/107425766)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文