addElement
public void addElement(Object obj)Adds the specified component to the end of this vector, increasing its size by one. The capacity of this vector is increased if its size becomes greater than its capacity.
This method is identical in functionality to the add(Object) method (which is part of the List interface).
public void addElement(Object obj)Adds the specified component to the end of this vector, increasing its size by one. The capacity of this vector is increased if its size becomes greater than its capacity.
This method is identical in functionality to the add(Object) method (which is part of the List interface).
解决方案 »
- 冒泡排序
- 请教 当把一个子类赋给父类的引用时 这个对象的类型到底属于父类还是子类?
- 关于java运算异或符的不解问题
- wait 和 notify 同步小问题,帮我修改下小代码。马上结贴。
- 写了个Java聊天室,如何在朋友机器上运行
- 最新!!!!!!!!!!!!!!!!!!!!!11
- JGoodies中文乱码问题?
- -------------------------求解释GridBagConstraints 单元格概念---------------------------
- Applet如何从JavaScript中取数据?
- java for 循环截取字符串
- 在书上抄的 但是不行啊 简单的代码
- 关于swing组件中的,thread safe
而addElement好像一般用于在界面上添加元素。