上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: toString()与new String ()用法区别 String str1=new String(Base64.decode(str)); String str2=Base64.decode(str).toString(); str.toString是调用了这个object对象的类的toStr 阅读全文
posted @ 2020-06-27 13:17 Money131 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Exception in thread "main" java.security.InvalidKeyException: Wrong key size Exception in thread "main" java.security.InvalidKeyException: 6 length 。。 阅读全文
posted @ 2020-06-27 11:13 Money131 阅读(2768) 评论(0) 推荐(0) 编辑
摘要: 凯撒加密: 通过移动字节的位置进行加密 public static void main(String[] args) { String input="hello world"; //向右移动 int key =3; //转换字节数组 char[] chars=input.toCharArray(); 阅读全文
posted @ 2020-06-25 20:31 Money131 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 码点是指一个编码表中的某个字符对应的代码值。 基本的多语言级别,每个字符用16位表示代码单元,而辅助字符采用连续的一对连续代码单元进行编码。 //码点数量 System.out.println(str1.codePointCount(0, str1.length())); //代码单元 char f 阅读全文
posted @ 2020-06-21 23:56 Money131 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 1.dual 确实是一张表.是一张只有一个字段,一行记录的表(虚拟表). 2.习惯上,我们称之为'伪表'.因为他不存储主题数据.3. 他的存在,是为了操作上的方便.因为select 都是要有特定对象的.如:select * from mytable ;select * from myview;等等. 阅读全文
posted @ 2020-06-17 10:42 Money131 阅读(234) 评论(0) 推荐(0) 编辑
摘要: String str ="123"; double ty=Double.valueOf(str); System.out.println(ty); double ty1=Double.max(1, 2); double ty2=Double.parseDouble(str); System.out. 阅读全文
posted @ 2020-06-09 14:20 Money131 阅读(2182) 评论(0) 推荐(0) 编辑
摘要: 缓存组件: 名词:Cache(缓存接口) 实现的接口RedisCache、EhCacheCache、ConcurrentMapCache CacheManager : 缓存管理,管理各种缓存组件(Cache)组件 阅读全文
posted @ 2020-06-04 08:41 Money131 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、搜索镜像[root@localhost ~]# docker search tomcat2、拉取镜像[root@localhost ~]# docker pull tomcat3、根据镜像启动容器docker run --name mytomcat -d tomcat:latest4、docke 阅读全文
posted @ 2020-05-31 16:30 Money131 阅读(137) 评论(0) 推荐(0) 编辑
摘要: SpringBoot: 1.SpringBoot的thymeleaf模板 # 禁用缓存 在配置文件中进行注释(application.properties)spring.thymelvdeaf.cache=false 2.页面重新编译(idea) Ctrl+f9 3.使用thymeleaf模板,需要 阅读全文
posted @ 2020-05-29 08:25 Money131 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 关键字:DISTINCT 格式:SELECT DISTINCT 列名称 FROM 表名称官方用语:关键词 DISTINCT 用于返回唯一不同的值。大白话:用distinct可以去重。关键字:trim()格式:trim(列名) ltrim() 去掉左空格 rtrim() 去掉右空格官方用语:除去两端空 阅读全文
posted @ 2020-05-27 10:09 Money131 阅读(147) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页