Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaѧϰԴ´úÂë

package com.huawei.globe;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
public class CrossConectionContextSheet
{
 CrossCalition cc = new CrossCalition();
 private final static String driver = "com.mysql.jdbc.Driver";
 private final static String url = "jdbc:mysql://localhost:3306/test";
 private final static String name = "root";
 private final static String password = "123456";
 static Connection conn = null;
 Statement st = null;
 ResultSet rs = null;
 private void pack() throws Exception
 {
  String sql = "select * from globe_sdh_snc_tmp where cName=" + "'TAS'";
  Class.forName(driver);
  conn = DriverManager.getConnection(url, name, password);
  st = conn.createStatement();
  rs = st.executeQuery(sql);
  ArrayList<CrossCalition> list = new ArrayList<CrossCalition>();
  CrossCalition cross = null;
  while (rs.next())
  {
   cross = new CrossCalition();
   cross.setId(rs.getInt("id"));
   cross.setCname(rs.getString("cName"));
   cross.setCsquence(rs.getString("cSquence"));
   cross.setCrossType(rs.getString("cross_type"));
   cross.setSrcNe(rs.getString("src_ne"));
   cross.setSrcSlot(rs.getString("src_slot"));
   cross.setSrcPort(rs.getString("src_port"));
   cross.setSnkNe(rs.getString("snk_ne"));
   cross.setSnkSlot(rs.getString("snk_slot"));
   cross.setSnkPort(rs.getString("snk_port"));
   System.out.println(rs.getInt(1) + "\t" + rs.getString(2) + "\t"
     + rs.getString(3) + "\t" + rs.getString(4) + "\t"
     + rs.g


Ïà¹ØÎĵµ£º

Java ¼Ì³ÐСÀý

¿´¿´ÏÂÃæ³ÌÐò½«Êä³öʲô½á¹û£º
/**
* ShowExtending
* ÑÝʾ¼Ì³ÐʱµÄÏÖÏó
*/
class SupCls {
static String s1 = "¸¸ÀàÀà±äÁ¿s1";
String s2 = "¸¸ÀàʵÀý±äÁ¿s2";
SupCls(){
System.out.println("¸¸À๹ÔìÆ÷±»·ÃÎÊ");
}
public static void f1(){ ......

ÔÚEcpliseÖÐǶÈëNASA World Wind Java SDK

¡¾IT168 ¼¼ÊõÎÄÕ¡¿
WWJ SDK ÊÇÒ»ÖÖ¹¹½¨ÔÚ Java OpenGL (JOGL) À©Õ¹Ö®É쵀 3D
ͼÐεØÇòÒÇ¡£WWJ Àà²ã´Î½á¹¹µÄºËÐÄÊÇ GLCanvas µÄ×ÓÀà WorldWindowGLCanvas¡£¶ø GLCanvas ÊÇÒ»¸ö
Abstract Window Toolkit (AWT) ×é¼þ¡£
¡¡¡¡WWJ ¶Ô AWT µÄÒÀÀµÐÔ¶ÔÓÚÏëÔÚ Eclipse
Ó¦ÓóÌÐòÖÐʹÓà WWJ µÄ GIS ¿ª·¢ÈËÔ±À´½²ÊÇÒ»¸öÕÏ°­¡£Äú¿É ......

JavaÐòÁл¯µÄ»úÖƺÍÔ­Àí£¨½²µÄºÜÏêϸҲºÜÒ׶®£©


±¾ÎĽ²½âÁËJavaÐòÁл¯µÄ»úÖƺÍÔ­Àí¡£´ÓÎÄÖÐÄã¿ÉÒÔÁ˽âÈçºÎÐòÁл¯Ò»¸ö¶ÔÏó£¬Ê²Ã´Ê±ºòÐèÒªÐòÁл¯ÒÔ¼°JavaÐòÁл¯µÄËã·¨¡£
 
00 00 00 0B: 11, containVersionµÄÖµ.
 
0x70:TC_NULL£¬Ã»Óг¬ÀàÁË¡£
 
0x49: ÓòÀàÐÍ. 49 ´ú±í"I", Ò²¾ÍÊÇInt..
00 0E: ÓòÃû×Ö³¤¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ