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

javaС½á

1 ×÷ÓÃÓò
   javaÖÐ×÷ÓÃÓòµÄ·¶Î§ÓÉ»¨À¨ºÅ±êʾ¡£
2¹ØÓÚstatic 
 À¬»øÊÕ¼¯Æ÷Ö»ÖªµÀËѼ¯ÄÇЩÓÐnewÔËËã·û·ÖÅäµÄÄڴ棬²»ÖªµÀÈçºÎÊÍ·ÅÌØÊâÄÚ´æ¡£
 Èç¹ûÀ¬»øÊÕ¼¯Æ÷×¼±¸»ØÊÕ¶ÔÏóµÄÄڴ棬ËüÊ×Ïȵ÷ÓÃfinalize()£¬¶øÇÒÖ»ÓÐÔÚÏÂÒ»´ÎÀ¬»øËѼ¯¹ý³ÌÖУ¬²Å»áÕæÕý»ØÊÕ¶ÔÏóµÄÄÚ´æ¡£ËùÒÔ˵Èç¹ûʹÓÃ
 finalize()¾Í»áÍê³ÉÖØÒªµÄÇå³ýºÍÇåɨ¹¤×÷¡£
ÒªµãÒ»À¬»øÊÕ¼¯²»µÈÓÚÆÆ»µ¡£
Òªµã¶þÎÒÃǵĶÔÏó¿ÉÄܲ»»áµ±×öÀ¬»ø±»ÊÕµô¡£
3 finalize()µÄÓÃ;
  À¬»øÊÕ¼¯Ö»¸úÄÚ´æÓйء£
 ²¢²»ÊÇÇå³ý¹¤×÷µÄÀíÏ볡Ëù
 ×îÓÐÓõÄÒ»µã¾ÍÊǹ۲ìÀ¬»øËѼ¯µÄ¹ý³Ì¡£


Ïà¹ØÎĵµ£º

TEA¼ÓÃÜËã·¨java°æ

Õâ¸öËã·¨¼òµ¥,¶øÇÒЧÂʸß,ÿ´Î¿ÉÒÔ²Ù×÷8¸ö×Ö½ÚµÄÊý¾Ý,¼ÓÃܽâÃܵÄKEYΪ16×Ö½Ú,¼´°üº¬4¸öintÊý¾ÝµÄintÐÍÊý×é,¼ÓÃÜÂÖÊýӦΪ8µÄ±¶Êý,Ò»°ã±È½Ï³£ÓõÄÂÖÊýΪ64,32,16,ÍÆ¼öÓÃ64ÂÖ.
Ô´´úÂëÈçÏÂ:
/** *//**
* TeaËã·¨
* ÿ´Î²Ù×÷¿ÉÒÔ´¦Àí8¸ö×Ö½ÚÊý¾Ý
* KEYΪ16×Ö½Ú,ӦΪ°üº¬4¸öintÐÍÊýµÄint[]£¬Ò»¸öintΪ4¸ö×Ö½Ú
* ¼ÓÃܽâÃÜÂÖÊ ......

JavaÏß³ÌÖ®Read Write Lock Pattern

Read-Write Lock PatternµÄ²ÎÓëÕߣº
1. Reader£¨¶ÁÈ¡Õߣ©²ÎÓëÕß
    Reader²ÎÓëÕß»á¶ÔSharedResource²ÎÓëÕß½øÐÐread¡£
2. Writer£¨Ð´ÈëÕߣ©²ÎÓëÕß
    Writer²ÎÓëÕß»á¶ÔSharedResource²ÎÓëÕß½øÐÐwrite¡£
3. SharedResource£¨¹²Ïí×ÊÔ´£©²ÎÓëÕß
    SharedResource²ÎÓëÕß ......

JAVAʵÏÖAES¼ÓÃÜ


JAVAʵÏÖAES¼ÓÃÜ
1. Òò×Ó
       ÉϴνéÉÜÁË¡¶JAVAʵÏÖAES¼ÓÃÜ¡·£¬ÖмäÌáµ½½üЩÄêDESʹÓÃÔ½À´Ô½ÉÙ£¬Ô­Òò¾ÍÔÚÓÚÆäʹÓÃ56λÃÜÔ¿£¬±È½ÏÈÝÒ×±»ÆÆ½â£¬½üЩÄêÀ´Öð½¥±»AESÌæ´ú£¬AESÒѾ­±ä³ÉĿǰ¶Ô³Æ¼ÓÃÜÖÐ×îÁ÷ÐÐËã·¨Ö®Ò»£»AES¿ÉÒÔʹÓÃ128¡¢192¡¢ºÍ256λÃÜÔ¿£¬²¢ÇÒÓÃ128λ·Ö×é¼ÓÃܺͽâÃÜÊý¾ ......

JAVAÈçºÎµ÷ÓÃVOS2009½Ó¿Ú

ÎÒÔÚ×öVOS2009µÚ3·½½Ó¿Úµ÷Óã¬Í¨¹ýÕâ¸ö½Ó¿ÚÒª»ñÈ¡Óà¶îÏÔʾµ½webÉÏÓà¶î¡£
ÎÒÖªµÀjava´¦ÀíHTTP postÊý¾ÝÒÔ¼°webserviceÏà¹ØµÄÊý¾Ý£¬¿ÉÊǶÔÓÚvosÕâÖÖ½Ó¿ÚûŪ¹ý£¬²»Çå³þÔõôʵÏÖ£¬ÎÒ´ÓÍøÉÏÕÒÁËÏ£¬¿´µ½Óиö˵ÊÇͨ¹ýUDP·¢Ëͱ¨ÎÄʵÏֵ쬵«ÊDz»ÖªµÀÈçºÎÓÃjavaʵÏÖ£¬Âé·³ÓÐÖªµÀµÄ´Í½ÌÏ£¬Ð»Ð»£¡
ʾÀý±¨ÎĽṹ
OPTIONS sip:80 ......

java ³£Óù¤¾ßÀà

DateTimeHelper ʱ¼ä×é¼þ
/**
 *
 */
package com.ibm08001.bbs.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
 *
 */
public class DateTimeHelper {
        private static SimpleDateFormat FULL_SDF = new SimpleDateFormat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ