![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
zbo1301
这个作者很懒,什么都没留下…
展开
-
归并排序
class MergeSort { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int[] array = new int[]{7,3,43,5,65,7,8,98,90,5,345,35,34}; int[]原创 2016-08-15 16:17:54 · 331 阅读 · 0 评论 -
堆排序
public class HeapSortCls{ public HeapSortCls(int[] lst) { // TODO Auto-generated constructor stub this.lst = lst; this.len = lst.length; } public void createHeap(){ int startIndex = (lst.le原创 2016-08-15 08:36:01 · 250 阅读 · 0 评论 -
json递归查找key对应的值
public static JsonNode getJsonNodeByKey(Object object, String key) { if (object == null || object == "") return null; Class cls = object.getClass(); if(cls ==原创 2017-09-17 23:14:33 · 3339 阅读 · 2 评论