摘要:
package com.fh.interview; /** * 中断测试 * * @author * @create 2018-05-27 下午3:18 **/ public class InterruptDemo { public static void main(String[] args) { 阅读全文
摘要:
package com.fh.interview; import java.util.concurrent.*; /**线程创建的方式 * @author * @create 2018-05-27 下午2:58 **/ public class CreateTHread { public stati 阅读全文
摘要:
package com.fh.interview; /** * @author 死锁测试 * @create 2018-05-27 下午2:26 **/ public class DeadLockDemo { public static String resourceA = "A"; public 阅读全文
摘要:
/** * 基数排序 */ @Test public void RadioSort(){ int[] array = {123,345,5555,66666,764,12,33,455}; int maxLength = maxLength(array); int[] newArray = sort 阅读全文
摘要:
/** * 桶排序 */ @Test public void bucketSort(){ int[] array = {5,6,7,8,9,1,2,3,5,6,7,8,9}; buckerSort(array); System.out.println(Arrays.toString(array)); 阅读全文