📄 testvector.java
字号:
package net.aetherial.gis.output.toLd.test;
import java.util.Vector;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class TestVector {
public TestVector() {
}
public static void main(String[] args) {
TestVector testvector = new TestVector();
String[] t1 = new String[20];
Vector ve = new Vector();
for (int i = 0; i < 20; i++) {
ve.add("Test:" + i);
}
System.out.println(ve.indexOf("Test:4"));
System.out.println(ve.indexOf("Test:100"));
ve.copyInto(t1);
if (t1 != null) {
for (int i = 0; i < t1.length; i++) {
System.out.println(t1[i]);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -