Java SE ¾²Ì¬±äÁ¿
package demo;
class TA{
//Õâ¸ö³ÌÐòÒªºÃºÃÀí½â,³£Á¿²»ÊÇÊôÓÚÀàµÄ£¬ËüÔÚÄÚ´æÖÐÓÐÒ»¿éµ¥¶ÀµÄ´æ´¢ÇøÓò£¬ºÎÀàTAÎÞÈκιØϵ
// public static final int m=9;
// ¾²Ì¬±äÁ¿ÊÇÊôÓÚÀàµÄ£¬ËüµÄ´æ´¢ÇøÓòÓëÀàÏà¹Ø
public static int m=9;
static {
System.out.println("In Static m="+ m);
}
}
public class TestStaticA {
public static void main(String[] args) {
//³£Á¿²»ÄÜʹÓÃÀàµÄʵÀý¶ÔÏóµ÷ÓÃ,Ö»ÄÜʹÓÃÀà¶ÔÏóµ÷ÓÃ
//¾²Ì¬±äÁ¿²»¿ÉÒÔʹÓÃʵÀý¶ÔÏóµ÷Óã¬Ö»ÄÜʹÓÃÀà¶ÔÏóµ÷ÓÃ
// TA ta=new TA();
// ta.m;
System.out.println(TA.m);
}
}
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
µ±spider³ÌÐò·ÃÎʵ½Ò»¸öÍøÒ³£¬±ØÐë½øÐÐÒÔϼ¸Ïî»ù±¾´¦Àí£º³éÈ¡ÍøÒ³Öаüº¬µÄÎı¾;³éÈ¡ÍøÒ³Öаüº¬µÄURL£¬²¢½«ÆäÇø·ÖΪÍøÒ³Öаüº¬µÄÎı¾£»³éÈ¡ÍøÒ³Öаüº¬µÄURL£¬²¢½«ÆäÇø·ÖΪÍøÕ¾ÄÚURL»òÍøÕ¾ÍâURL¡£
2.2¸÷Ö÷Òª¹¦ÄÜ Ä£¿é£¨ÀࣩÉè¼Æ
2.2.1 spiderÀà
¸ÃÀàΪÖ÷À࣬¼Ì³Ð×ÔÏß³ÌÀà¡£Ëü±¾Ê²¢²»×ö»ñÈ¡ÍøÒ³µÄ¾ßÌå ......
package algorithm.misc;
import util.*;
public class MaxProductOfN1 {
private static int exceptIndex = -1;
public static long regMethod(int data[])
{
long ret = Long.MIN_VALUE;
& ......
ÔÚ Google ÊäÈë java call win32api µÄµÚÒ»¸ö½á¹û
http://www.jinvoke.com/calling-the-win32-api-from-java
¾ÍÊÇÎÒÐèÒªµÄ´ð°¸¡£ºÇºÇ
¿´¿´Õâ¸ö°É
java°æÈÎÎñ¹ÜÀíÆ÷
java°æ×¢²á±í±à¼Æ÷
Calling the Win32 API from Java
Ê×ÏÈ´Ó http://www.jinvoke.com/calling-the-win32-api-from-java ½« jinvokeÏÂÔØ»ØÀ´
½« ......
1.ʲôÊǶÔÏó£¬Ê²Ã´ÊÇÃæÏò¶ÔÏó£¬Ê²Ã´ÊÇÀࣿ
ÏÖʵÊÀ½çÖÐÈκÎʵÌ嶼¿ÉÒÔ¿´×÷ÊǶÔÏó¡£ËûÃÇÓÐÁ½ÖÖÌØÕ÷£ºËûÃǶ¼ÓµÓÐ״̬ÓëÐÐΪ¡£Èí¼þÖеĶÔÏóÓÐ×Ô¼ºµÄÊôÐÔºÍÄܹ»Ö´ÐеIJÙ×÷¡£
ËùνÃæÏò¶ÔÏó¾ÍÊÇ»ùÓÚ¶ÔÏó¸ÅÄÒÔ¶ÔÏóΪÖÐÐÄ£¬ÒÔÀàºÍ¼Ì³ÐΪ¹¹Ôì»úÖÆ£¬À´ÈÏʶ¡¢Àí½â¡¢¿Ì»¿Í¹ÛÊÀ½çºÍÉè¼Æ¡¢¹¹½¨ÏàÓ¦µÄÈí¼þϵͳ¡£
Àà¾ÍÊǶÔÒ»¸öÊÂÎ ......