java io ѧϰ
½ÚµãÁ÷
¸¸Àà
InputStream
OutputStream
Reader
Writer
Îļþ
FileInputStream
FileOutputStream
FileReader
FileWriter
Êý×é
ByteArrayInputStream
ByteOutputStream
CharArrayReader
CharArrayWriter
×Ö·û´®
ÎÞ
ÎÞ
StringReader
StringWriter
¹ÜµÀ
PipedInputStream
PipedOutputStream
PipedReader
PipedWriter
´¦ÀíÁ÷
¸¸Àà
InputStream
OutputStream
Reader
Writer
»º³åÁ÷
BufferedInputStream
BufferedOutputStream
BufferedReader
BufferedWriter
ת»»Á÷
InputStreamReader OutputStreamWriter- ÒªinputStream»òOutputStream×÷Ϊ²ÎÊý£¬ÊµÏÖ´Ó×Ö½ÚÁ÷µ½×Ö·ûÁ÷µÄת»»
Êý¾ÝÁ÷
DataInputStream DataOutputStream
Êý¾ÝÁ÷˵Ã÷
-Ìṩ½«»ù´¡Êý¾ÝÀàÐÍдÈëµ½ÎļþÖУ¬»òÕß¶ÁÈ¡³öÀ´£¬ÎªÊ²Ã´ÒªÓÐÕâ¸öÁ÷ÄØ£¿¿´ÕâÑùµÄ·ÖÎö£¬Èç¹ûûÓÐÕâÖÖÁ÷µÄ»°£¬ÓÐÒ»¸ölong£¬±¾ÉíÖ»Õ¼8¸ö×Ö½Ú£¬Èç¹ûÎÒҪдÈëµ½Îļþ£¬ÐèҪת³É×Ö·û´®£¬È»ºóÔÚת³É×Ö·ûÊý×飬Äǿռä»áÕ¼Óúܶ࣬µ«ÊÇÓÐÁËÕâÖÖÁ÷Ö®ºó¾ÍºÜ·½±ãÁË£¬Ö±½Ó½«Õâ8¸ö×Ö½Úдµ½Îļþ¾ÍÍêÁË¡£¡£ÊDz»ÊǼȽÚÔ¼ÁËÄÚ´æ¿Õ¼äÓÐÈóÌÐòдÆðÀ´¸ü¼Ó·½±ã¼òµ¥ÁËÄÅ¡£Ð´µ¹ÊǺܼòµ¥£¬µ«ÊǶÁÈ¡µÄʱºò¾Í×¢ÒâÁË£¬¸ù¾Ý¶ÁÈ¡µÄÊý¾ÝÀàÐÍ£¬Ö¸Õë»áÍùÏÂÒÆ£¬ËùÒÔÄãдµÄ˳Ðò±ØÐëÒªºÍ¶ÁµÄ˳ÐòÒ»Ö²ÅÄÜÍê³ÉÄãÕýÈ·µÄÐèÇó¡£
Ïà¹ØÎĵµ£º
¶ÔÓÚJAVA±à³ÌºÍºÜ¶àÀàËÆC¡¢C++ÓïÑÔÓÐÒ»¸ö¾Þ´óÇø±ð¾ÍÊÇÄÚ´æ²»ÐèÒª×Ô¼ºÈ¥free»òÕßdelete£¬¶øÊÇÓÉJVMÀ¬»ø»ØÊÕ»úÖÆÈ¥Íê³ÉµÄ¡£¶ÔÓÚÕâ¸ö¹ý³ÌºÜ¶àÈËÒ»Ö±±È½ÏãȻ»òÕß¾õµÃºÜÖÇÄÜ£¬Ê¹µÃÔÚд³ÌÐòµÄ¹ý³Ì²»Ì«¿¼ÂÇËüµÄ¸ÐÊÜ£¬Æäʵ֪µÀһЩÄÚÔÚµÄÔÀí£¬°ïÖúÎÒÃDZàд¸ü¼ÓÓÅÐãµÄ´úÂëÊǷdz£ÓбØÒªµÄ¡£
±¾ÎÄ´ÓÒÔϼ¸¸ö·½Ãæ½øÐвûÊö£º
......
List,Queue£¬Set¼Ì³ÐÓÚColletion£¬¶øColletion¼Ì³ÐÓÚIterable
List£ºÒÔÌØ¶¨Ë³Ðò±£´æÒ»×éÔªËØ£¬ÊµÏÖList½Ó¿ÚÓУº
ArrayList£º³¤ÓÚËæ»ú·ÃÎÊÔªËØ£¬µ«ÊÇÔÚListÖвåÈëºÍÒÆ³ýÔªËØ±È½ÏÂý
LinkedList£ºÔÚListÖвåÈëºÍÒÆ³ýÔªËØ±È½Ï¿ì£¬ÌṩÁËÓÅ»¯µÄ˳Ðò·ÃÎÊ£¬²»³¤ÓÚËæ»ú·ÃÎÊÔªËØ¡£
Queue£º ÏȽøÏȳö£¬¶àÓÃÓÚ²¢·¢±à³Ì¡£ ......
java¼¯ºÏÀà×ܽá
¶ÔÏóµÄ¼¯ºÏ
Èç¹û³ÌÐòµÄ¶ÔÏóÊýÁ¿ÓÐÏÞ£¬ÇÒÊÙÃü¿ÉÖª£¬ÄÇôÕâ¸ö³ÌÐòÊÇÏ൱¼òµ¥µÄ¡£
Êý×é
Êý×éÓëÆäËüÈÝÆ÷µÄÇø±ðÌåÏÖÔÚÈý¸ö·½Ã棺ЧÂÊ£¬ÀàÐÍʶ±ðÒÔ¼°¿ÉÒÔ³ÖÓÐprimitives¡£Êý×éÊÇJavaÌṩµÄ£¬ÄÜËæ»ú´æ´¢ºÍ·ÃÎÊreferenceÐòÁеÄÖî¶à·½·¨Öеģ¬×î¸ßЧµÄÒ»ÖÖ¡£Êý×éÊÇÒ»¸ö¼òµ¥µÄÏßÐÔÐòÁУ¬ËùÓÐËü¿ÉÒÔ¿ìËٵķ ......
ͨ¹ýjava jna µ÷ÓÃdatastage c api Àý×ÓÈçÏ£¬ÕâÊÇÔËÐÐ×÷ÒµµÄÀý×Ó
¾²âÊÔÊÇ¿ÉÐеġ£
import com.sun.jna.Library;
import com.sun.jna.Structure;
import com.sun.jna.Union;
import com.sun.jna.Native;
/** Simple example of native library declaration and usage. */
public class dsjobc {
public static cl ......