String LINE_NAME = null;
int TRAFFIC_TYPE =0;
long LINE_ID = 0;
String LINE_NO = null;
int IS_UP_DOWN = 0;
long CITY_ID=0;
Geometry geometry = recordset.getGeometry();
while(result.next()){
LINE_NAME = result.getString("LINE_NAME");
TRAFFIC_TYPE = result.getInt("TRAFFIC_TYPE");
LINE_ID = result.getLong("LINE_ID");
LINE_NO = result.getString("LINE_NO");
IS_UP_DOWN = result.getInt("IS_UP_DOWN");
CITY_ID = result.getLong("CITY_ID");
for(int i =0;i<listAll.size();i++){
if(LINE_NO.equals((String) listAll.get(i).get(0)) & IS_UP_DOWN==(int) listAll.get(i).get(1) & CITY_ID==(Long) listAll.get(i).get(2)){
System.out.println(LINE_NO.equals((String) listAll.get(i).get(0)) & IS_UP_DOWN==(int) listAll.get(i).get(1) & CITY_ID==(Long) listAll.get(i).get(2));
System.out.println(LINE_NO+","+IS_UP_DOWN+","+CITY_ID+"-----------");
java.util.Map map = new java.util.HashMap();
map.put("LINE_NAME", LINE_NAME);
map.put("TRAFFIC_TYPE", TRAFFIC_TYPE);
map.put("LINE_ID", LINE_ID);
recordset.addNew(geometry, map);
recordset.update();
}
}
}