Java 算法篇
cookieyou
这个作者很懒,什么都没留下…
展开
-
Java 过滤不安全字符
public static String htmlEncode(String pstrWord) { if((pstrWord != null)&&(pstrWord != "")) { StringBuffer pobjBuffer原创 2007-10-18 17:45:00 · 821 阅读 · 0 评论 -
FileUtil.java
/**//* * To change this template, choose Tools | Templates * and open the template in the editor. */package sunweiqin.io;import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.Fi原创 2008-05-18 16:37:00 · 556 阅读 · 0 评论 -
数组排序总结(冒泡,选择,插入,希尔)
1. package org.idcn.jse; 2. 3. public class SortAll { 4. 5. /** 6. * 冒泡排序,选择排序,插入排序,希尔(Shell)排序 Java的实现 9. */ 10. public static void main(String[] args) { 11.原创 2008-11-10 13:12:00 · 569 阅读 · 0 评论