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

ʵÏÖAMF3ÓëJavaÖ®¼äÊý×éµÄ´«µÝ(¶¯Ì¬´´½¨Êý×é)...

Ê×ÏÈ,AMF3Ëƺõ²¢²»Ö§³ÖList.ArrayListµÈÊý×éµÄ½âÎö...Java¿Í»§¶Ë´«µÝList¶ÔÏó,AMF3ÎÞ·¨½âÎöΪArray...
Ô­ÒòÊÇ:AMF3Ö»Ö§³Ö»ù´¡Êý¾ÝÀàÐÍ...
¹Ê,ÐèÒª½«ListµÈÊý¾Ýת»»ÎªObject[] !ÕâÑùAMF3²ÅÄܽ«Java´«µÝµÄÊý×é½âÎöΪArray...
ÓÉÓÚÊý×éµÄ´´½¨,¼´±ãÒ»¿ªÊ¼²»¸³Öµ,Ò²ÐèÒªÉèÖÃÊý×éµÄlength,Èç:String[] myString = new String[5];
¹Ê,ÐèÒª¶¯Ì¬´´½¨Object[]Êý×é.µ«ÍùÍù,lengthÒ»¿ªÊ¼ÊDz¢²»ÖªµÀ,±ÈÈçJDBCÖÐResultSet...
@SuppressWarnings("unchecked")
public Seed_Warehouse[] findSeedWarehouseByUserID(int userID)
throws SQLException {
String sql = "SELECT * from LESOGO_SEED_WAREHOUSE WHERE USER_ID = ?";
db.doPstm(sql, new Object[] { userID });
ResultSet rs = db.getRs();
if (rs != null) {
int i = 0; // »ñµÃÊý¾Ý¿â±íµÄÐÐÊý!
while (rs.next()) {
i++;
}
Seed_Warehouse[] sws = new Seed_Warehouse[i];
rs.beforeFirst(); // ¹â±êÖ¸ÏòÆðʼλÖÃ!
int j = 0;
while (rs.next()) {
Seed_Warehouse sw = new Seed_Warehouse();
sw.setId(rs.getInt(1));
sw.setCrop_class_name(rs.getString(2));
sw.setCrop_count(rs.getInt(3));
sw.setUser_id(rs.getInt(4));
sws[j++] = sw; // ΪÊý¾Ý¾ßÌåλÖÃϵĶÔÏó¸³Öµ!
}
return sws;
}
return null;
}
×ܽá:
       ÊÇÒªÈÏÕæѧϰÏÂAMF3ЭÒéÁË...


Ïà¹ØÎĵµ£º

javaÊý¾Ý½á¹¹ ÏßÐÔ±í£¬Á´±í£¬¹þÏ£±í

ÏßÐÔ±í£¬Á´±í£¬¹þÏ£±íÊdz£ÓõÄÊý¾Ý½á¹¹£¬ÔÚ½øÐÐJava¿ª·¢Ê±£¬JDKÒѾ­ÎªÎÒÃÇÌṩÁËһϵÁÐÏàÓ¦µÄÀàÀ´ÊµÏÖ»ù±¾µÄÊý¾Ý½á¹¹¡£ÕâЩÀà¾ùÔÚjava.util°üÖС£±¾ÎÄÊÔͼͨ¹ý¼òµ¥µÄÃèÊö£¬Ïò¶ÁÕß²ûÊö¸÷¸öÀàµÄ×÷ÓÃÒÔ¼°ÈçºÎÕýȷʹÓÃÕâЩÀà¡£
 <o:p></o:p>
Collection
©ÀList
©¦©ÀLinkedList
©¦©ÀArrayList
©¦©¸Vector ......

ÔÚ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: ÓòÃû×Ö³¤¶ ......

Java I/O³£ÓÃÁ÷ʾÀý


package io;   
import java.io.*;   
/**  
* @author ¸ßÕíÎâÓÇ  
* ÀûÓûº³åÇøÔ­Àí,BufferedInputStream,  
* ÊµÏÖµÄÎļþ×Ö½ÚÁ÷¶ÁÈ¡¹¦ÄÜʾ·¶  
*  
*/  
public class BufferedInOutputStream {  & ......

¶þ¡¢£¨1£©Êý¾Ý²ã ÓйØJava´úÂë

l×é¼þ´Ó¹¦ÄÜÉÏ·Ö¿É·ÖΪ£º
   1) ¶¥²ãÈÝÆ÷£ºJFrame,JApplet,JDialog,JWindow
   2) ÖмäÈÝÆ÷£ºJPanel,JScrollPane,JSplitPane,JToolBar¡¡
   3) ÌØÊâÈÝÆ÷£ºÔÚGUIÉÏÆðÌØÊâ×÷ÓõÄÖмä²ã£¬ÈçJInternalFrame,JLayeredPane,JRootPane.
1.JFrameµÄÓ÷¨
1) ÓÃgetContentPane( )·½·¨»ñµÃJFrameµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ