ÀûÓÃ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²¿·Ö£¨¹²40·Ö£©
1¡¢ ˵˵OverloadºÍOverrideµÄÇø±ð¡£OverloadedµÄ·½·¨ÊÇ·ñ¿ÉÒԸı䷵»ØÖµµÄÀàÐÍ£¿£¨5·Ö£©
OverloadÊǸ²¸Ç£¬×ÓÀàµÄ·½·¨¸ú¸¸Àà·½·¨Ãû×ÖÒ»Ñù£¬×ÓÀàµÄ·½·¨°Ñ¸¸ÀàµÄ¸²¸ÇÁË¡£
OverrideÊÇÖØÔØ£¬²»Í¬µÄ·½·¨²ÎÊý¡¢·µ»ØÖµ²»Ò»Ñù£¬½ô½ô·µ»ØÖµ²»Ò»ÑùµÄÁ½¸öº¯Êý²»½ÐÖØÔØ£¬±àÒë²»»áͨ¹ýµÄ¡£
Over ......
Õ⼸ÌìÒ»Ö±ÔÚ´¦ÀíJavaµÄÈÕÆÚÎÊÌ⣬ͨ³£ÐèÒª°´ÒªÇóÉú³ÉÈÕÆڵĻ°£¬Í¨³£»áÓõ½util°üÖеÄCalendarÀ࣬ÔÙÓÃCalendarµÄgetTime()·½·¨Éú³É¶ÔÓ¦µÄDate£¬×îºóÓÃSimpleDateFormatÊä³ö¡£
1. »ñÈ¡µ±ÆÚÈÕÆÚ¡¢Äê·Ý¡¢Ô·Ý
import java.util.Calendar;
public clas ......
JAVA String¶ÔÏóºÍ×Ö·û´®³£Á¿µÄ¹Øϵ½âÎö
1 ×Ö·û´®ÄÚ²¿Áбí
JAVAÖÐËùÓеĶÔÏ󶼴æ·ÅÔÚ¶ÑÀïÃ棬°üÀ¨String¶ÔÏó¡£×Ö·û´®³£Á¿±£´æÔÚJAVAµÄ.classÎļþµÄ³£Á¿³ØÖУ¬ÔÚ±àÒëÆÚ¾ÍÈ·¶¨ºÃÁË¡£
ÐéÄâ»úΪÿ¸ö±»×°ÔصÄÀàÐÍά»¤Ò»¸ö³£Á¿³Ø¡£³£Á¿³Ø¾ÍÊǸÃÀàÐÍËùÓó£Á¿µÄÒ»¸öÓÐÐò¼¯ºÏ£¬°üÀ¨Ö±½Ó³£Á¿(string¡¢integerºÍfloat point³ ......
ÔÎÄ£º http://blog.sina.com.cn/s/blog_4e0c121101000awr.html
(ÕâÊÇÎÒÄê³õдµÄһƪÎÄÕ£¬µ«³Ù³ÙûÓй«¿ª¡£ÓÐЩÄÚÈÝ¿ÉÄÜÒѾ¹ýʱ£¬µ«»¹ÊÇÖµµÃÒ»¶Á.)
¾¹ý½«½ü10ÄêµÄ·¢Õ¹ºó£¬Java EEÒѾÑݱäΪµ±Ç°ÆóÒµµÄÖ÷Á÷¼ÆËãƽ̨¡£¿ª·¢ÕßÔÙÒ²²»Äܹ»¼ò¼òµ¥µ¥µØ½«Java¿´³ÉÒ»ÖÖ±à³ÌÓïÑÔÁË£¬Æä²úÒµºÍ¼¼ÊõÁ´ÒÑ¾É ......
¼ÆËã»úרҵ±ÏÒµÁ½ÄêÁË£¬ÖÕÓÚÕÒµ½Ñ§Ï°µÄ¸Ð¾õÁË£¬ºó»Úµ±Ê±ÔÚѧУʱµÄÎÞÖªºÍ¿ñÍý£¡£¡£¡
ÏÖÔÚÎÒ¶ÔJava web±à³ÌÓÐÁËÐËȤ£¬ÎÒдÁË×Ô¼ºµÄÓû§µÇ¼С³ÌÐò£¬ÒѾÉÏ´«µ½ÎÒµÄCSDN¿Õ¼äÁË£¬»¶Ó´ó¼ÒÀ´·ÃÎÊ£¡£¡£¡
ÌÖÂÛÖ®ºó£¬»¶ÓÀ´ÐÅ£¬¹²Í¬Ìá¸ß£¡£¡£¡
ÁªÏµ·½Ê½£º243093502@@qq.com ......