摘要: 使用设计模式的目的 代码重用性 (即:相同功能的代码,不用多次编写) 可读性 (即:编程规范性, 便于其他程序员的阅读和理解) 可扩展性 (即:当需要增加新的功能时,非常的方便,称为可维护) 可靠性 (即:当我们增加新的功能后,对原来的功能没有影响) 使程序呈现高内聚,低耦合的特性 设计模式的核心思 阅读全文
posted @ 2020-07-29 09:32 叮叮叮叮叮叮当 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Spring-Cloud 介绍 SpringCloud各个组件详解,因为SpringCloud部分组件停止更新,故本项目包含原SpringCloud(基于SpringCloud H版和SpringBoot 2.X版)和SpringCloud Alibaba,查看SpringCloud和SpringB 阅读全文
posted @ 2020-07-29 09:28 叮叮叮叮叮叮当 阅读(167) 评论(0) 推荐(0) 编辑
摘要: package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-08 16:18 * @desc 线性查找 */ public class SeqSearch { public static voi 阅读全文
posted @ 2020-07-29 09:21 叮叮叮叮叮叮当 阅读(81) 评论(0) 推荐(0) 编辑
摘要: package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-08 16:25 * @desc 插值查找,要求数组是有序的 */ public class InsertValueSearch { 阅读全文
posted @ 2020-07-29 09:20 叮叮叮叮叮叮当 阅读(86) 评论(0) 推荐(0) 编辑
摘要: package com.liuhuan.study.algorithms.search; import java.util.Arrays; /** * @author LiuHuan * @date 2020-07-08 16:27 * @desc 斐波那契查找 */ public class Fi 阅读全文
posted @ 2020-07-29 09:19 叮叮叮叮叮叮当 阅读(87) 评论(0) 推荐(0) 编辑
摘要: package com.liuhuan.study.algorithms.search; /** * @author LiuHuan * @date 2020-07-09 14:35 * @desc 二分查找非递归 */ public class BinarySearchNoRecur { publ 阅读全文
posted @ 2020-07-29 09:18 叮叮叮叮叮叮当 阅读(39) 评论(0) 推荐(0) 编辑
摘要: package com.liuhuan.study.algorithms.search; import java.util.ArrayList; import java.util.List; /** * @author LiuHuan * @date 2020-07-08 16:20 * @desc 阅读全文
posted @ 2020-07-29 09:17 叮叮叮叮叮叮当 阅读(73) 评论(0) 推荐(0) 编辑