【MapSheep】
[好记性不如烂笔头]
摘要: 示例代码 如下 <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>two</title> <script> console.group("one pass"); function funIDcard(){ va 阅读全文
posted @ 2021-03-01 17:22 (Play) 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Tomcat启动监听器被其他程序占用 示例 错误启动TOMCAT时: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: java.net.BindException: 阅读全文
posted @ 2021-03-01 15:19 (Play) 阅读(1333) 评论(0) 推荐(0) 编辑
摘要: setting-》搜索 inspections-》点击inspections-》General-》Duplicated code fragment 取消勾选。完美解决。 阅读全文
posted @ 2021-02-25 09:51 (Play) 阅读(127) 评论(0) 推荐(0) 编辑
摘要: git 远程仓库无权限 下午 15:05 Push failed RPC failed; HTTP 403 curl 18 transfer closed with 22 bytes remaining to read the remote end hung up unexpectedly git 阅读全文
posted @ 2021-02-24 15:17 (Play) 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 详细测试结论如下 isEmpty 》会把空格当成元素 isBlank 》相反 class Test001 { static void t01() { String A = " "; String B = ""; String C = null; // 长度 System.out.println(A. 阅读全文
posted @ 2021-02-23 11:20 (Play) 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 示例代码 字符串转换数字类型转换错误。 不能把"0.9"转成Integer. 因为双精度的数字不能转成Integer, 因为正数才可以转成Integer。 错误示例 阅读全文
posted @ 2021-02-20 16:38 (Play) 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 示例代码 public class Company { public static void main(String[] args) { // 示例, 支持0.2开头 String currentVoltage = "20.014"; // 转换双精度 int totalFee1 = (int) ( 阅读全文
posted @ 2021-02-20 16:30 (Play) 阅读(2689) 评论(0) 推荐(0) 编辑
摘要: 如下代码 import java.util.Collections; import java.util.List; import java.util.ArrayList; import java.util.Comparator; public class Java8Tester { public s 阅读全文
posted @ 2021-02-18 14:51 (Play) 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: 下面的列出的是 Number & Math 类常用的一些方法: xxxValue() 将 Number 对象转换为xxx数据类型的值并返回。 compareTo() 可以是一个 Byte, Double, Integer, Float, Long 或 Short 类型的参数. 相等返回0, 小于返回 阅读全文
posted @ 2021-02-18 14:44 (Play) 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 设置编码 看图 {{uploading-image-934779.png(uploading...)}} 阅读全文
posted @ 2021-02-08 17:25 (Play) 阅读(172) 评论(0) 推荐(0) 编辑