内容太多,给个链接喽~
http://wenku.baidu.com/view/80e11c4733687e21af45a9aa.html
转:https://www.cnblogs.com/lvl-ustc/archive/2013/05/15/3080792.html