摘要: 包扫描+组件注解(@Component、@Service、@Controller、@Repository) @Bean 给容器添加Bean @Import 导入组件 Import(类名),id默认组件全名 ImprtSelector,返回需要导入组件全类名 ImportBeanDefinittion 阅读全文
posted @ 2020-05-24 15:51 Money131 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 0.001Reids的5种数据结构 redis是一个开源的使用C语言编写的一个kv存储系统,是一个速度非常快的非关系远程内存数据库。它支持包括String、List、Set、Zset、hash五种数据结构。 通过哨兵(sentinel)和自动分区(Cuuster)的方式可以提高redis服务器的高可 阅读全文
posted @ 2020-05-13 22:36 Money131 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 注释写的很详细,直接上代码。 RSA main方法: 阅读全文
posted @ 2019-10-10 20:14 Money131 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 例子: 截取掉str从首字母起长度为beginIndex的字符串,将剩余字符串赋值给str; String str ="123456789"; str.substring(0) ——> 123456789 str.substring(1) ——> 23456789 例子: //截取字符串:(包头不包 阅读全文
posted @ 2019-09-16 09:36 Money131 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 0x001需求分析 0x002编写代码 Servlet 0x003ServiceImpl 0x004 看视频,胡乱撸一下,重要是Email的功能,实现需要注意,不同邮箱不同验证码,MailUtil工具类了解一下。 贴下工具类MailUtil 阅读全文
posted @ 2019-09-12 23:49 Money131 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 报错前: 解决完:(全部不替换掉) 阅读全文
posted @ 2019-09-11 09:29 Money131 阅读(5265) 评论(0) 推荐(0) 编辑
摘要: import java.util.TreeSet;//TreeSet是由红黑树完成的 public class Solution { public int uniqueMorseRepresentations(String[] words) { String[] codes = {".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", ". 阅读全文
posted @ 2019-09-02 16:54 Money131 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 复习基础 数组 阅读全文
posted @ 2019-08-31 23:00 Money131 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 一 查找免费的web service 天气预报Web服务,数据来源于中国气象局Endpoint : http://www.webxml.com.cn/WebServices/WeatherWebService.asmxDisco : http://www.webxml.com.cn/WebServi 阅读全文
posted @ 2019-08-27 22:45 Money131 阅读(118) 评论(0) 推荐(0) 编辑
摘要: /* 数据库 -- 1.遵循SQL标准2.不同厂商,不同的数据库产品,但是有自己的方言3.使用自己的方言,也能够完成相同的功能4.oracle安全级别要高一些,mysql开源*/ /* dual : oracle中的虚表,为表,主要是用来不起语法结构 */ --直接写一个常量辟邪 * 要高效 /* 阅读全文
posted @ 2019-08-27 22:17 Money131 阅读(176) 评论(0) 推荐(0) 编辑