【MapSheep】
[好记性不如烂笔头]
摘要: setting-》搜索 inspections-》点击inspections-》General-》Duplicated code fragment 取消勾选。完美解决。 阅读全文
posted @ 2021-02-25 09:51 (Play) 阅读(151) 评论(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) 阅读(97) 评论(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) 阅读(118) 评论(0) 推荐(0)
摘要: 示例代码 字符串转换数字类型转换错误。 不能把"0.9"转成Integer. 因为双精度的数字不能转成Integer, 因为正数才可以转成Integer。 错误示例 阅读全文
posted @ 2021-02-20 16:38 (Play) 阅读(203) 评论(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) 阅读(2744) 评论(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) 阅读(1118) 评论(0) 推荐(0)
摘要: 下面的列出的是 Number & Math 类常用的一些方法: xxxValue() 将 Number 对象转换为xxx数据类型的值并返回。 compareTo() 可以是一个 Byte, Double, Integer, Float, Long 或 Short 类型的参数. 相等返回0, 小于返回 阅读全文
posted @ 2021-02-18 14:44 (Play) 阅读(88) 评论(0) 推荐(0)
摘要: 设置编码 看图 {{uploading-image-934779.png(uploading...)}} 阅读全文
posted @ 2021-02-08 17:25 (Play) 阅读(198) 评论(0) 推荐(0)
摘要: 实体类 class Student { private String studentName; private Integer studentAge; public Student() { } public Student(String studentName, Integer studentAge 阅读全文
posted @ 2021-02-08 11:02 (Play) 阅读(1084) 评论(0) 推荐(0)
摘要: rpm -i –prefix=/home/gpadmin greenplum-db-6.0.0-rhel6-x86_64.rpm 将greenplum-db-6.0.0-rhel6-x86_64.rpm包安装到/home/gpadmin目录下。 阅读全文
posted @ 2021-02-08 10:39 (Play) 阅读(1849) 评论(1) 推荐(0)