02 2020 档案

摘要:package com.kuang;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/19 - 10:50 */public class HeapSort { public static void main(String[] args) 阅读全文
posted @ 2020-02-19 11:28 1350464730 阅读(143) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/15 - 10:46 */public class RadixSort { public static void main(String[] args) 阅读全文
posted @ 2020-02-15 11:56 1350464730 阅读(171) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/15 - 9:12 */public class shellSort { public static void main(String[] args) 阅读全文
posted @ 2020-02-15 09:25 1350464730 阅读(98) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:46 */public class TestDoubleNode { public static void main(String[] args) { //创建节点 DoubleNode 阅读全文
posted @ 2020-02-14 19:35 1350464730 阅读(139) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:32 */public class DoubleNode { //上一个节点(等于this)保证循环 DoubleNode pre=this; //下一个节点 DoubleNode ne 阅读全文
posted @ 2020-02-14 19:34 1350464730 阅读(166) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:25 *///循环链表测试public class TestLoopNode { public static void main(String[] args) { LoopNode n1 阅读全文
posted @ 2020-02-14 19:32 1350464730 阅读(195) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:20 *///一个节点 //循环链表public class LoopNode { //节点内容 int data; //下一个节点(循环链表只需要加一个this即可) LoopNode 阅读全文
posted @ 2020-02-14 19:30 1350464730 阅读(177) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:25 *///普通链表测试public class TestNode { public static void main(String[] args) { //创建节点 Node n1=n 阅读全文
posted @ 2020-02-14 19:28 1350464730 阅读(249) 评论(0) 推荐(0) 编辑
摘要:package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:20 *///一个节点 //普通链表public class Node { //节点内容 int data; //下一个节点 Node next; public Node(int data 阅读全文
posted @ 2020-02-14 19:26 1350464730 阅读(95) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/14 - 19:02 */public class insertSort { public static void main(String[] args 阅读全文
posted @ 2020-02-14 19:23 1350464730 阅读(147) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.lang.reflect.Array;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/14 - 18:39 */public class quickSort { public 阅读全文
posted @ 2020-02-14 18:57 1350464730 阅读(95) 评论(0) 推荐(0) 编辑
摘要:package com.digui;/** * @auther 付强 * @date 2020/2/14 - 14:00 *///递归public class TestRecursive { public static void main(String[] args) { print(5); } p 阅读全文
posted @ 2020-02-14 18:27 1350464730 阅读(170) 评论(0) 推荐(0) 编辑
摘要:package com.digui;/** * @auther 付强 * @date 2020/2/14 - 14:22 *///斐波那契实现public class TestFebonacci { public static void main(String[] args) { int i=feb 阅读全文
posted @ 2020-02-14 18:25 1350464730 阅读(181) 评论(0) 推荐(0) 编辑
摘要:package com.digui;/** * @auther 付强 * @date 2020/2/14 - 15:37 */public class TestHanoi { public static void main(String[] args) { hanoi(3,'A','B','C'); 阅读全文
posted @ 2020-02-14 18:09 1350464730 阅读(199) 评论(0) 推荐(0) 编辑
摘要:package com.queue;/** * @auther 付强 * @date 2020/2/13 - 13:30 */public class TestMyqueue { public static void main(String[] args) { //创建一个队列 Myqueue my 阅读全文
posted @ 2020-02-13 17:12 1350464730 阅读(167) 评论(0) 推荐(0) 编辑
摘要:package com.queue;/** * @auther 付强 * @date 2020/2/13 - 13:30 */public class Myqueue { int []elements; public Myqueue(){ elements=new int[0]; } //入队 pu 阅读全文
posted @ 2020-02-13 17:10 1350464730 阅读(270) 评论(0) 推荐(0) 编辑
摘要:package com.stack;/** * @auther 付强 * @date 2020/2/13 - 13:08 */public class TestMystack { public static void main(String[] args) { //先创建一个栈 Mystack my 阅读全文
posted @ 2020-02-13 13:26 1350464730 阅读(243) 评论(0) 推荐(0) 编辑
摘要:package com.stack;/** * @auther 付强 * @date 2020/2/13 - 12:45 */public class Mystack { //栈的底层我们使用数组来存储数据 int[] elements; public Mystack(){ elements=new 阅读全文
posted @ 2020-02-13 13:24 1350464730 阅读(546) 评论(0) 推荐(0) 编辑
摘要:package com.fu;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/13 - 10:27 */public class myArray1 { //用于存储数据的数组 private int[] elements; public 阅读全文
posted @ 2020-02-13 12:16 1350464730 阅读(144) 评论(0) 推荐(0) 编辑
摘要:1.为什么 wait,notify 和 notifyAll 是在 Object 类中定义的而不是在 Thread 类中定义: 1) wait 和 notify 不仅仅是普通方法或同步工具,更重要的是它们是 Java 中两个线程之间的通信机制。 2) 每个对象都可上锁,这是在 Object 类而不是 阅读全文
posted @ 2020-02-12 14:55 1350464730 阅读(113) 评论(0) 推荐(0) 编辑
摘要:package com.fu;/** * @auther 付强 * @date 2020/2/12 - 12:58 *///二分查找public class testsearch1 { public static void main(String[] args) { int arr[]={1,3,5 阅读全文
posted @ 2020-02-12 13:20 1350464730 阅读(157) 评论(0) 推荐(0) 编辑
摘要:package com.fu;import com.sun.org.apache.xpath.internal.SourceTree;import java.util.Scanner;/** * @auther 付强 * @date 2020/2/12 - 11:27 */public class 阅读全文
posted @ 2020-02-12 11:33 1350464730 阅读(150) 评论(0) 推荐(0) 编辑
摘要:package com.fu;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/12 - 10:54 */public class TestArray3 { public static void main(String[] args) { 阅读全文
posted @ 2020-02-12 11:20 1350464730 阅读(145) 评论(0) 推荐(0) 编辑
摘要:package com.fu;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/12 - 10:29 */public class TestArray2 { //数组扩容 public static void main(String[] 阅读全文
posted @ 2020-02-12 10:47 1350464730 阅读(337) 评论(0) 推荐(0) 编辑
摘要:package com.fu;import java.util.ArrayList;/** * @auther 付强 * @date 2020/2/12 - 10:02 */public class TestArray { public static void main(String[] args) 阅读全文
posted @ 2020-02-12 10:28 1350464730 阅读(320) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-02-10 19:09 1350464730 阅读(529) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-02-10 19:07 1350464730 阅读(116) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-02-10 19:06 1350464730 阅读(627) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt 阅读全文
posted @ 2020-02-10 19:04 1350464730 阅读(717) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-02-10 19:03 1350464730 阅读(312) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-02-10 18:57 1350464730 阅读(455) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch 阅读全文
posted @ 2020-02-10 18:55 1350464730 阅读(217) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.util.ArrayList;/** * @auther 付强 * @date 2020/2/7 - 22:06 */public class erfen1 { public static void test1(int[] arr){ if 阅读全文
posted @ 2020-02-10 18:48 1350464730 阅读(127) 评论(0) 推荐(0) 编辑
摘要:package com.kuang;import java.util.ArrayList;/** * @auther 付强 * @date 2020/2/8 - 9:33 */public class xuanze { public static void xuanze(int arr[]){ if 阅读全文
posted @ 2020-02-10 18:43 1350464730 阅读(116) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示