📄 permanence.java
字号:
package net.aetherial.gis.test.tools.bian2;
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 Permanence {
public static Vector tongda = new Vector();
public static Vector tongdaluxian = new Vector();
public Permanence() {
}
public static void printTongda() {
TongdaRow record = null;
for (int i = 0; i < tongda.size(); i++) {
record = (TongdaRow) tongda.get(i);
System.out.println(record);
}
}
public static LuxianRow[] getluxian(TongdaRow tr) {
Vector luxians = new Vector();
LuxianRow temp = null;
for (int i = 0; i < tongdaluxian.size(); i++) {
temp = (LuxianRow) tongdaluxian.get(i);
if (temp.getBianma().trim().equals(tr.getRaodBianma())) {
luxians.add(temp);
}
}
LuxianRow[] array = new LuxianRow[luxians.size()];
luxians.copyInto(array);
return array;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -