![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
fx050622
这个作者很懒,什么都没留下…
展开
-
简单实现MergeSort
[code="java"]public class MergeSort { public static void main(String[] args) { MergeSort ms = new MergeSort(); // int[] a = ms.merge(3, 2); // a = ms.merge(2, 3); int[] b = { 1, 2,...2011-10-20 17:36:25 · 152 阅读 · 0 评论 -
heap sort
[code="java"]import java.util.Random;public class HeapSort { /** * @param args */ public static void main(String[] args) { HeapSort hs = new HeapSort(); int[] b = { 4, 7, 10, 564...原创 2011-10-28 17:28:00 · 79 阅读 · 0 评论 -
Java Concurrent Control Thread Number
http://technicalmumbojumbo.wordpress.com/2010/02/21/java-util-concurrent-java-5-semaphore/[code="java"]java.util.concurrent: Java 5 SemaphorePosted on February 21, 2010 | 4 CommentsThis post...原创 2011-12-19 09:48:51 · 100 阅读 · 0 评论 -
quick sort
[code="java"]package tech.algorithms.sort;import java.util.Random;import java.util.Random;public class QuickSort { public static void main(String[] args) { // int[] ...原创 2011-11-13 21:23:55 · 76 阅读 · 0 评论 -
从m中选择n个元素
[code="java"]import java.util.ArrayList;import java.util.List;public class PickingATeam { public static void main(String[] args) { PickingATeam pick = new PickingATeam(); List ls = new...原创 2012-02-06 10:55:36 · 128 阅读 · 0 评论 -
maven SSH POM
[code="xml"] 4.0.0 com.bata amber war 0.0.1-SNAPSHOT amber Maven Webapp http://maven.apache.org commons-lang commons-lang 2.6 org.apache.struts struts2...原创 2012-07-06 14:53:34 · 78 阅读 · 0 评论 -
java 引用
ava Reference Objectsor How I Learned to Stop Worrying and Love OutOfMemoryErrorIntroductionI started programming with Java in 2000, after fifteen years with C and C++. I thought myself ...原创 2012-07-10 15:05:08 · 187 阅读 · 0 评论 -
struts2 ajax exception
[code="java"]import javax.servlet.http.HttpServletResponse;import org.apache.struts2.StrutsStatics;import com.opensymphony.xwork2.Action;import com.opensymphony.xwork2.ActionContext;import...原创 2012-08-07 12:53:30 · 101 阅读 · 0 评论