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

ÀûÓÃjavaÄÚ´æÓ³ÉäÎļþ»úÖÆʵÏÖCRCÑ­»·ÈßÓàУÑé

import java.nio.MappedByteBuffer;   
import java.nio.channels.FileChannel;   
import java.util.zip.CRC32;   
public static void main(String[] args){   
            try {                               //¶Ô
import java.nio.MappedByteBuffer;  
import java.nio.channels.FileChannel;  
import java.util.zip.CRC32;  
public static void main(String[] args){  
            try {                               //¶ÔÎļþ½øÐÐcrcУÑé  
            long begin = System.currentTimeMillis();  
            FileInputStream in = new FileInputStream("code.py");//Ö¸¶¨Ä¿±êÎļþ  
            FileChannel channel = in.getChannel(); //´ÓÎļþÖлñÈ¡Ò»¸öͨµÀ  
            CRC32 crc = new CRC32();  
            int length = (int)channel.size();  
            MappedByteBuffer buffer = channel.map(FileChannel.MapMode.READ_ONLY, 0, length); //ÓÃÖ»¶Áģʽ´Ó¸ÃͨµÀ»ñÈ¡×Ö½Ú»º³å£¬ÊµÏÖÎļþµ½ÄÚ´æµÄÓ³Éä  
            for(int i = 0;i<length;i++)  
     


Ïà¹ØÎĵµ£º

javaÃæÊÔ


Ò»¡¢Java²¿·Ö£¨¹²40·Ö£©
1¡¢ ËµËµOverloadºÍOverrideµÄÇø±ð¡£OverloadedµÄ·½·¨ÊÇ·ñ¿ÉÒԸı䷵»ØÖµµÄÀàÐÍ£¿£¨5·Ö£©
OverloadÊǸ²¸Ç£¬×ÓÀàµÄ·½·¨¸ú¸¸Àà·½·¨Ãû×ÖÒ»Ñù£¬×ÓÀàµÄ·½·¨°Ñ¸¸ÀàµÄ¸²¸ÇÁË¡£ 
OverrideÊÇÖØÔØ£¬²»Í¬µÄ·½·¨²ÎÊý¡¢·µ»ØÖµ²»Ò»Ñù£¬½ô½ô·µ»ØÖµ²»Ò»ÑùµÄÁ½¸öº¯Êý²»½ÐÖØÔØ£¬±àÒë²»»áͨ¹ýµÄ¡£
Over ......

java»ñÈ¡µ±Ç°ÈÕÆÚµÄÇ°Ò»ÌìÈÕÆÚÓë×Ö·û´®ÈÕÆÚÖ®¼äµÄת»»

         Õ⼸ÌìÒ»Ö±ÔÚ´¦ÀíJavaµÄÈÕÆÚÎÊÌ⣬ͨ³£ÐèÒª°´ÒªÇóÉú³ÉÈÕÆڵĻ°£¬Í¨³£»áÓõ½util°üÖеÄCalendarÀ࣬ÔÙÓÃCalendarµÄgetTime()·½·¨Éú³É¶ÔÓ¦µÄDate£¬×îºóÓÃSimpleDateFormatÊä³ö¡£
 
1. »ñÈ¡µ±ÆÚÈÕÆÚ¡¢Äê·Ý¡¢Ô·Ý
import java.util.Calendar;
public clas ......

JAVA String¶ÔÏóºÍ×Ö·û´®³£Á¿µÄ¹Øϵ½âÎö

JAVA String¶ÔÏóºÍ×Ö·û´®³£Á¿µÄ¹Øϵ½âÎö
1 ×Ö·û´®ÄÚ²¿Áбí
  JAVAÖÐËùÓеĶÔÏ󶼴æ·ÅÔÚ¶ÑÀïÃ棬°üÀ¨String¶ÔÏó¡£×Ö·û´®³£Á¿±£´æÔÚJAVAµÄ.classÎļþµÄ³£Á¿³ØÖУ¬ÔÚ±àÒëÆÚ¾ÍÈ·¶¨ºÃÁË¡£
ÐéÄâ»úΪÿ¸ö±»×°ÔصÄÀàÐÍά»¤Ò»¸ö³£Á¿³Ø¡£³£Á¿³Ø¾ÍÊǸÃÀàÐÍËùÓó£Á¿µÄÒ»¸öÓÐÐò¼¯ºÏ£¬°üÀ¨Ö±½Ó³£Á¿(string¡¢integerºÍfloat point³ ......

Java EEÏÖ×´¼°Æä·¢Õ¹Ç÷ÊÆ

Ô­ÎÄ£º http://blog.sina.com.cn/s/blog_4e0c121101000awr.html
(ÕâÊÇÎÒÄê³õдµÄһƪÎÄÕ£¬µ«³Ù³ÙûÓй«¿ª¡£ÓÐЩÄÚÈÝ¿ÉÄÜÒѾ­¹ýʱ£¬µ«»¹ÊÇÖµµÃÒ»¶Á.) 
   ¾­¹ý½«½ü10ÄêµÄ·¢Õ¹ºó£¬Java EEÒѾ­ÑݱäΪµ±Ç°ÆóÒµµÄÖ÷Á÷¼ÆËãƽ̨¡£¿ª·¢ÕßÔÙÒ²²»Äܹ»¼ò¼òµ¥µ¥µØ½«Java¿´³ÉÒ»ÖÖ±à³ÌÓïÑÔÁË£¬Æä²úÒµºÍ¼¼ÊõÁ´ÒѾ­É ......

JavaѧϰÐĵÃ

¼ÆËã»úרҵ±ÏÒµÁ½ÄêÁË£¬ÖÕÓÚÕÒµ½Ñ§Ï°µÄ¸Ð¾õÁË£¬ºó»Úµ±Ê±ÔÚѧУʱµÄÎÞÖªºÍ¿ñÍý£¡£¡£¡
ÏÖÔÚÎÒ¶ÔJava web±à³ÌÓÐÁËÐËȤ£¬ÎÒдÁË×Ô¼ºµÄÓû§µÇ¼С³ÌÐò£¬ÒѾ­ÉÏ´«µ½ÎÒµÄCSDN¿Õ¼äÁË£¬»¶Ó­´ó¼ÒÀ´·ÃÎÊ£¡£¡£¡
ÌÖÂÛÖ®ºó£¬»¶Ó­À´ÐÅ£¬¹²Í¬Ìá¸ß£¡£¡£¡
ÁªÏµ·½Ê½£º243093502@@qq.com ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ