µ±Ç°Î»Ö㺠´úÂëÃÔ >> �ı�ģʽµÄ½â¾ö·½°¸
 
  • ÊðÀí£¨Proxy)ģʽ¼ò½é

    ´úÀí£¨Proxy)ģʽ¼ò½éÒ»¡¢´úÀí£¨Proxy)ģʽ¼ò½é´úÀíģʽÊǽṹÐÍģʽ¡£´úÀíģʽ¸øijһ¸ö¶ÔÏóÌṩһ¸ö´úÀí¶ÔÏ󣬲¢ÓÉ´úÀí¶ÔÏó¿ØÖƶÔÔ­¶ÔÏóµÄÒýÓᣴúÀí¶ÔÏóÒª¼Ì³ÐÓÚ³éÏóÖ÷Ì⣬²¢¿ØÖÆÔ­¶ÔÏóµÄÒýÓöþ¡¢¼òµ¥Àý×Ó³éÏóÖ÷ÌâÀàpackageproxy;/**³éÏóÖ÷Ìâ*/publicabstractclassSubject{/**ÇëÇó·½·¨*/abstractpublicvoidRequest();}ÕæʵÖ÷ÌâÀ࣬...

    138
    ÈȶÈ
  • ioÖÐÈóÊÎģʽ

    ioÖÐÐÞÊÎģʽ×î½üÔÚ¿´Ñ§Ï°io·½ÃæµÄ¶«Î÷£¬½Ó´¥µ½ÐÞÊÎģʽ£¬¾ÍÉÏÍø²éÁËÒ»ÏÂ×ÊÁÏ£¬¶¯ÊÖдÁËÒ»¸ö£¬¶ÔÔËÐеĽá¹û²»Ì«Àí½â£¬Çó¸÷λָµã¡£//Ô´½Ó¿ÚpublicinterfaceSourceable{ publicvoidoperation();}//½Ó¿ÚʵÏÖÀàpublicclassSourceimplementsSourceable{ @Override publicvoidoperation(){ /...

    17
    ÈȶÈ
  • ¹ØÓÚDAOģʽ

    ¹ØÓÚDAOģʽ ʲôÊÇDAO DAOÊÇDataAccessObjectÊý¾Ý·ÃÎʽӿÚ... Êý¾Ý·ÃÎÊ..¹ÊÃ÷˼Òì¾ÍÊÇÓëÊý¾Ý¿â´ò½»µÀ... ÊǼÐÔÚÒµÎñÂß¼­ÓëÊý¾Ý¿â×ÊÔ´Öмä... DAOµÄ¹¦ÄÜ: 1.DAOÓÃÀ´·â×°DataSourceµÄ..¾Í±ÈÈç,Connectionconn=DAOFacotry.createConnection()..¾Í¿ÉÒÔ°ÑDriver.URL.use...

    308
    ÈȶÈ
  • ʼþµÄ»ù׼ģʽ

    ʼþµÄ±ê׼ģʽժ×Ôhttp://www.cnblogs.com/willick/p/4172174.html£¬½ö¹©²Î¿¼Ñ§Ï°.NET¿ò¼ÜΪʼþ±à³Ì¶¨ÒåÁËÒ»¸ö±ê׼ģʽ£¬É趨Õâ¸ö±ê×¼ÊÇΪÁËÈÃ.NET¿ò¼ÜºÍÓû§´úÂë±£³ÖÒ»Ö¡£System.EventArgsÊDZê׼ģʽµÄºËÐÄ£¬ËüÊÇÒ»¸öûÓÐÈκγÉÔ±£¬ÓÃÓÚ´«µÝʼþ²ÎÊýµÄ»ùÀà,Ê×Ïȶ¨ÒåEventArgs:1publicclassPriceChangeEventAr...

    17
    ÈȶÈ
  • ½«¼Çʱ¾¸ñʽµÄJava´úÂëÖ±½Ó¿½µ½MyEclipseµÄ°üÖÐ(ÎÞÓï·¨Òì³£)ÔËÐÐÕÒ²»µ½main()ÊÇÕ¦»ØÊ£¿ÈçºÎ¸Ä

    ½«¼Çʱ¾¸ñʽµÄJava´úÂëÖ±½Ó¿½µ½MyEclipseµÄ°üÖÐ(ÎÞÓï·¨´íÎó)ÔËÐÐÕÒ²»µ½main()ÊÇÔõô»ØÊ£¿Ôõô¸Ä£¿ÓüÇʱ¾±àдµÄ´úÂëÖ±½Ó¿½µ½MyEclipseµÄ°üÖÐ(ÎÞÓï·¨´íÎó)ÔËÐÐÕÒ²»µ½main()ÊÇÔõô»ØÊ£¿Ôõô¸Ä£¿²¢±¨ÈçÏ´íÎó£ºjava.lang.NoClassDefFoundError:javalab/Demo5_catchesCausedby:java.lang.ClassNotFoun...

    303
    ÈȶÈ
  • ¿ÚÊÔ@µ¥Àýģʽ

    ÃæÊÔ@µ¥Àýģʽµ¥ÀýģʽËãÊÇÉè¼ÆģʽÖÐ×îÈÝÒ×Àí½â£¬Ò²ÊÇ×îÈÝÒ×ÊÖд´úÂëµÄģʽÁË°É¡£µ«ÊÇÆäÖеĿÓÈ´²»ÉÙ£¬ËùÒÔÒ²³£×÷ΪÃæÊÔÌâÀ´¿¼¡£±¾ÎÄÖ÷Òª¶Ô¼¸ÖÖµ¥Àýд·¨µÄÕûÀí£¬²¢·ÖÎöÆäÓÅȱµã¡£ºÜ¶à¶¼ÊÇһЩÀÏÉú³£Ì¸µÄÎÊÌ⣬µ«Èç¹ûÄã²»ÖªµÀÈçºÎ´´½¨Ò»¸öḬ̈߳²È«µÄµ¥Àý£¬²»ÖªµÀʲôÊÇË«¼ìËø£¬ÄÇÕâƪÎÄÕ¿ÉÄÜ»á°ïÖúµ½Äã¡£ÀÁººÊ½£¬Ï̲߳»°²È«µ±±»Îʵ½ÒªÊµÏÖÒ»¸öµ¥Àýģʽʱ£¬ºÜ¶àÈ˵ĵÚÒ»·´Ó¦ÊÇд³öÈçϵĴúÂ룬°üÀ¨½Ì¿ÆÊéÉÏÒ²ÊÇÕâÑù½ÌÎÒÃǵġ£pu...

    421
    ÈȶÈ
  • ÔõôÅжÏjpgͼƬÊÇRGBģʽ»¹ÊÇCMYKģʽ

    ÈçºÎÅжÏjpgͼƬÊÇRGBģʽ»¹ÊÇCMYKģʽ?ÈçºÎÅжÏjpgͼƬÊÇRGBģʽ»¹ÊÇCMYKģʽ?color='#e78608'>------½â¾ö·½°¸--------------------------------------------------------publicstaticboolIsCMYK(System.Drawing.Imageimg){boolisCmyk;if((GetImag...

    7503
    ÈȶÈ
  • СÐðMVC ģʽ

    С̸MVCģʽMVC(ModalViewControler)±¾À´ÊÇ´æÔÚÓÚDesktop³ÌÐòÖеģ¬MÊÇÖ¸Êý¾ÝÄ£ÐÍ£¬VÊÇÖ¸Óû§½çÃ棬CÔòÊÇ¿ØÖÆÆ÷¡£Ê¹ÓÃMVCµÄÄ¿µÄÊǽ«MºÍVµÄʵÏÖ´úÂë·ÖÀ룬´Ó¶øʹͬһ¸ö³ÌÐò¿ÉÒÔʹÓò»Í¬µÄ±íÏÖÐÎʽ¡£±ÈÈçÒ»Åúͳ¼ÆÊý¾ÝÄã¿ÉÒÔ·Ö±ðÓÃÖù״ͼ¡¢±ýͼÀ´±íʾ¡£C´æÔÚµÄÄ¿µÄÔòÊÇÈ·±£MºÍVµÄͬ²½£¬Ò»µ©M¸Ä±ä£¬VÓ¦¸Ãͬ²½¸üС£Ä£ÐÍ£­ÊÓͼ£­¿ØÖÆÆ÷£¨MVC£©ÊÇXeroxPARCÔÚ°ËÊ®Äê´úΪ±à³ÌÓï...

    448
    ÈȶÈ
  • Í£²´Ä£Ê½+GIF

    Í£¿¿Ä£Ê½+GIFUIView*redView=[[UIViewalloc]initWithFrame:CGRectMake(0,20,200,200)];redView.backgroundColor=[UIColorredColor];//ÔÊÐí×ÓÊÓͼ·Å´ó»òËõСĬÈÏautoresizeSubviewsµÄ¾ÍΪYESredView.autoresizeSubview=YES;redView.tag=1...

    298
    ÈȶÈ
  • ÈÝÒ×¹¤³Ìģʽ

    ¼òµ¥¹¤³Ìģʽ¼òµ¥¹¤³§Ä£Ê½¶¨Ò壺רÃŶ¨ÒåÒ»¸öÀàÀ´¸ºÔð´´½¨ÆäËüÀàµÄʵÀý£¬±»´´½¨µÄʵÀýͨ³£¶¼¾ßÓй²Í¬µÄ¸¸Àà»ò½Ó¿Ú;Òâͼ£ºÌṩһ¸öÀ࣬ÓÉËü¸ºÔð¸ù¾ÝÒ»¶¨µÄÌõ¼þ´´½¨Ä³Ò»¾ßÌåÀàµÄʵÀý;1publicclassFactoryDemo{2publicstaticvoidmain(String[]args){3IFruitfruit=Factory.getFruit("éÙ×Ó");4if(fruit!=null){5S...

    22
    ÈȶÈ
  • Çójava¹¤³¡Ä£Ê½

    Çójava¹¤³§Ä£Ê½publicvoidsaveOARole(Rolerole)throwsSQLException{ Propertiespro=newProperties(); Stringpath=Thread.currentThread().getContextClassLoader().getResource("connect.properties").getPath(); try{...

    7860
    ÈȶÈ
  • eclipse ϵÄDynamic Web Project ²»¿½jar°üµ½web-infÏÂÃæµÄlibĿ¼½â¾ö·½·¨

    eclipseϵÄDynamicWebProject²»¿½jar°üµ½web-infÏÂÃæµÄlibĿ¼½â¾ö°ì·¨ 1¡¢Ã»ÓÐÐÞ¸ÄÇ°³öÏֵĴíÎó£º2013-11-1510:43:42org.apache.catalina.core.ApplicationContextlogÐÅÏ¢:MarkingservletCXFServiceasunavailable2013-11-1510:43:42org.apache.c...

    728
    ÈȶÈ
  • AndroidÍí¼äģʽʵÏÖ

    AndroidÒ¹¼äģʽʵÏֲ鿴ÎÒµÄÈ«²¿¿ªÔ´ÏîÄ¿¡¾¿ªÔ´ÊµÑéÊÒ¡¿»¶Ó­¼ÓÈëÎÒµÄQQȺ£º¡¾201055521¡¿£¬±¾²©¿Í¿Í»§¶ËÏÂÔØ¡¾Çëµã»÷¡¿±¾ÎÄÔ­´´£¬×ªÔØÇë×¢Ã÷µØÖ·£ºhttp://blog.kymjs.com/×î½üÔÚ×öÒ»¸öAndroidÒ¹¼äģʽµÄ¹¦ÄÜ£¬ÓÖÖØÐÂÑо¿ÁËÒ»ÏÂTheme»úÖÆ¡£¹á³¹Îҵķç¸ñ£¬ÒÔ½â¾öÎÊÌâΪĿ±ê£¬Ð´Á˸öСDemo£¬¼òµ¥ÁËʵÏÖÁËÇл»Ò¹¼äģʽ£¬Îª´ó¼Ò½²½â¡£ÔÚActivityÖÐÓÐÒ»¸ö·½·¨½Ðset...

    20
    ÈȶÈ
  • Çë½ÌÔõôÏÔʾģʽ´°Ì壿

    ÇëÎÊÈçºÎÏÔʾģʽ´°Ì壿£¿£¿ÇëÎÊÈçºÎÏÔʾģʽ´°Ì壿£¿£¿ÏñdelphiµÄform1.showModalcolor='#e78608'>------½â¾ö·½°¸--------------------lzû¾ßÌå˵ÊÇʲô´°Ìå°¡¡£Èç¹ûÊÇJDialogJDialog(Frameowner,Stringtitle,booleanmodal)µÚÈý¸ö²ÎÊýÑ¡Ôñtrue¾ÍÊÇģʽ´°Ìå

    121
    ÈȶÈ
  • WebService ·ÇÓµÈûģʽ

    WebService·Ç×èÈûģʽ packagecom.datastruct.sort; importjava.io.IOException; importjavax.xml.namespace.QName; importorg.apache.axis2.addressing.EndpointReference; importorg.apache.axis2.client.Options; ...

    124
    ÈȶÈ
  • ±£»¤ÈËģʽ

    ±£»¤Õßģʽ¿´Á˵çÊӾ硶ÉñÃز©Ê¿¡·ÀïÃ棬һ¸ö¸¸Ç×°ÑÅ®¶ùµÄ˼ά¿½±´µ½µçÄÔÀïÃ棬ȻºóÉèÖÃÁËÒ»¸ö²¡¶¾¼ì²âÕßDoctMoonÀ´±£»¤Ð¡Å®¶ù¡£µ±¿´µ½°Ñ³éÏóµÄµçÄÔ³ÌÐò£¬ÐÎÏó»¯ÎªÒ»¸ö¸ö»îÉúÉúµÄÈËÎïµÄʱºò£¬±»Õ𺳵Äͬʱ£¬ÃÈ·¢ÁËÒ»¸öÔÚ×Ô¼º³ÌÐòÖÐÌí¼ÓÒ»¸öÒ½ÉúÀ´±£»¤×Ô¼º³ÌÐòµÄÏë·¨¡£C#codeÊ×ÏÈÊÇÒ»¸öÓÃÓÚ²âÊÔµÄÀ࣬ÀàÖÐÓиö×ö±êÖ¾µÄ¾²Ì¬±äÁ¿¡£publicclassRqTest{publicstaticboolRq=fals...

    8329
    ÈȶÈ
  • Èç¹û±ðÈ˵Á¿½ÁËСµÜÎÒµÄoutlookÐżþÎļþ¼Ð,ËûÔÚ±ðµÄ»úÆ÷É϶øÇÒûСµÜÎÒÃÜÂëµÄÇé¿öÏÂ,ÄÜ¿´»òÆƽâ³öСµÜÎÒµÄÓʼþÂð

    Èç¹û±ðÈ˵Á¿½ÁËÎÒµÄoutlookÐżþÎļþ¼Ð,ËûÔÚ±ðµÄ»úÆ÷É϶øÇÒûÎÒÃÜÂëµÄÇé¿öÏÂ,ÄÜ¿´»òÆƽâ³öÎÒµÄÓʼþÂð?Èç¹û±ðÈ˵Á¿½ÁËÎÒµÄoutlookÐżþÎļþ¼Ð,ËûÔÚ±ðµÄ»úÆ÷É϶øÇÒûÎÒÃÜÂëµÄÇé¿öÏÂ,ÄÜ¿´»òÆƽâ³öÎÒÄÇÎļþ¼ÐÖеÄÓʼþÄÚÈÝÂð?лл!!color='#e78608'>------½â¾ö·½°¸--------------------------------------------------------¿ÉÒÔ,...

    561
    ÈȶÈ
  • £¨×ª£©DocType µÄÑÏÀ÷ģʽÓë»ìÔÓģʽ

    £¨×ª£©DocTypeµÄÑϸñģʽÓë»ìÔÓģʽ ÑϸñģʽÓë»ìÔÓģʽ¨D¨DÈçºÎ´¥·¢ÕâÁ½ÖÖģʽ£¬Çø·ÖËüÃÇÓкÎÒâÒå¡£ÔÚ±ê׼ģʽÖУ¬ä¯ÀÀÆ÷¸ù¾Ý¹æ·¶³ÊÏÖÒ³Ã棻ÔÚ»ìÔÓģʽÖУ¬Ò³ÃæÒÔÒ»ÖֱȽϿíËɵÄÏòºó¼æÈݵķ½Ê½ÏÔʾ¡£ä¯ÀÀÆ÷¸ù¾ÝDOCTYPEÊÇ·ñ´æÔÚÒÔ¼°Ê¹ÓõÄÄÄÖÖDTDÀ´Ñ¡ÔñҪʹÓõijÊÏÖ·½·¨¡£Èç¹ûXHTMLÎĵµ°üº¬ÐÎʽÍêÕûµÄDOCTYPE£¬ÄÇôËüÒ»°ãÒÔ±ê׼ģʽ³ÊÏÖ¡£¶ÔÓÚHTML4.01Îĵµ£¬°üº¬ÑϸñDTDµÄDOCTYPE...

    149
    ÈȶÈ
  • Åú¸ÄoracleµÄÓÅ»¯Ä£Ê½

    ÐÞ¸ÄoracleµÄÓÅ»¯Ä£Ê½¸÷룬ÇëÎÊÔõôÐÞ¸ÄOracleµÄÓÅ»¯Ä£Ê½Îªchoolse£¬²½ÖèÊÇÔõÑùµÄ£¿ÐèҪעÒâʲô¶«Î÷£¿oraclecolor='#FF8000'>------½â¾ö·½°¸--------------------http://space.itpub.net/17203031/viewspace-705012

    27
    ÈȶÈ
  • JavaScript×é¼þ·âװģʽ

    JavaScript×é¼þ´ò°üģʽ js×é¼þͨ³£´ø×Åcssimage£¬µ«ÕâÑùʹÓÃÆðÀ´¿ÉÄÜ»áÓÐЩСÂé·³£¬ÎªÁËÈÃ×é¼þ×ã¹»µÄsolo£¬ÓÐÁË°ÑcssimageÒ²´ò°üÔÚjsµÄÏë·¨£¬È»ºó˳±ã°ÑÇëÇóÊý±äÉÙ£¬Õâ¸ö˳±ãºÃÏñ¸üÖØÒª£¬ºÇºÇ¡£ ÄÇÔõÑù´ò°üÄØ£¬ËäÈ»ÓÐresource-packagesÕâÑùµÄ·½°¸£¬¿ÉÊÇÎÒÃǵĺËÐÄÓû§»¹ÔÚÍæie6ÕâÖÖʱÉеÄä¯ÀÀÆ÷ÄØ£¡ Îҵķ½°¸£º CSS£ºCSS¿ÉÒÔµ±³É×Ö·û´®´æÔÚjsÀ²¢ÓÉj...

    191
    ÈȶÈ