上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 55 下一页
摘要: package ersatz; import java.io.FileNotFoundException; public class Ersatz { public static void main(String[] args) throws FileNotFoundException { try 阅读全文
posted @ 2021-07-15 11:36 ascertain 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 有关详细信息,请参见https://docs.spring.io/spring-boot/docs/current/reference/html/executable-jar.html。 Manifest-Version: 1.0 Created-By: Maven Archiver 3.4.0 M 阅读全文
posted @ 2021-07-14 15:17 ascertain 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 原先Windows上的Unicode指的是UTF-16LE且带有BOM,后来Unicode有了SIP、TIP平面,现在有U+2CC56这样的编码超出了原先Unicode只在BMP平面表示的范围,但UTF-32能使用四个字节完整表示一个字符如0002CC56,UTF-16则需要用两个字符D873 DC 阅读全文
posted @ 2021-07-14 14:30 ascertain 阅读(93) 评论(0) 推荐(0) 编辑
摘要: package ersatz; import java.io.FileNotFoundException; public class Ersatz { public static void main(String[] args) throws FileNotFoundException { long 阅读全文
posted @ 2021-07-13 11:42 ascertain 阅读(52) 评论(0) 推荐(0) 编辑
摘要: vm.max_map_count 限制一个进程可拥有的VMA(虚拟内存区域) max_virtual memory areas vm.max_map_count [65530] is too low 阅读全文
posted @ 2021-07-12 15:25 ascertain 阅读(120) 评论(0) 推荐(0) 编辑
摘要: package io; public class T { public static void main(String[] args) { String b = "124356789123456"; String bb = "124356789123456.124356789123456"; Sys 阅读全文
posted @ 2021-07-12 14:19 ascertain 阅读(693) 评论(0) 推荐(0) 编辑
摘要: hashCode() 方法 返回的是 value的 hashCode String value是存的Unicode 发现 value 为byte数组 值为 {-47,83} 转换为 二进制 为 1101 0001 0101 0011,二字节, x86架构为小端字节序, 故 其实 应为 {83,-47 阅读全文
posted @ 2021-07-11 12:33 ascertain 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Boolean Character Number 手动装箱 第一种 构造器 手动装箱方法 Deprecated , 会产生不同的 Integer对象 , 提倡 使用 static factory Integer.valueOf() 手动拆箱 自动装箱 底层调用Integer.valueOf() 自动 阅读全文
posted @ 2021-07-10 22:34 ascertain 阅读(37) 评论(0) 推荐(0) 编辑
摘要: package ersatz; public class Car { private double temperature; public Car(double temperature) { this.temperature = temperature; } private class Air { 阅读全文
posted @ 2021-07-09 16:25 ascertain 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 枚举: 自定义枚举类 使用enum关键字 不需要提供setXxx方法, 枚举对象通常只读 对枚举对象使用static final, 实现底层优化 枚举对象可有多个属性 package com.gibe; public class Enumeration { public static void ma 阅读全文
posted @ 2021-07-08 18:12 ascertain 阅读(294) 评论(0) 推荐(0) 编辑
摘要: package com.gibe; public class Ersatz { public static void main(String[] args) { // 外部其他类, 使用成员内部类三种方法 Outer outer = new Outer(); outer.mm(); // 外部ins 阅读全文
posted @ 2021-07-08 14:26 ascertain 阅读(39) 评论(0) 推荐(0) 编辑
摘要: idea 错误提示 @Override 重写方法的目的是为了多态, 重写是实现多态的前提, 即重写是发生于继承且针对非static方法 语法上子类允许出现和父类只有方法体不一样的static方法, 但语法上static支持重写, 但是运行上达不到多态 a的编译类型为 父类A, 运行类型为 子类B, 阅读全文
posted @ 2021-07-07 10:52 ascertain 阅读(65) 评论(0) 推荐(0) 编辑
摘要: The Java Language Specification recommends listing modifiers in the following order: 1. Annotations 2. public 3. protected 4. private 5. abstract 6. s 阅读全文
posted @ 2021-07-07 10:24 ascertain 阅读(64) 评论(0) 推荐(0) 编辑
摘要: UsbInterface.java package com; public interface UsbInterface { abstract public void start(); abstract public void stop(); } Camera.java package com; p 阅读全文
posted @ 2021-07-06 16:42 ascertain 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 饿汉式: 构造器私有化 => 防止直接new 类内部创建对象赋予static变量 向外暴露static公共方法,返回类实例变量 package com; public class Singleton { private String name; public static int n = 22; p 阅读全文
posted @ 2021-07-06 14:06 ascertain 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 查看证书 openssl x509 -in cacert.pem -text -noout # PEM openssl x509 -in cacert.der -inform der -text -noout # DER (distinguished encoding rule) 查看私钥 open 阅读全文
posted @ 2021-07-05 17:05 ascertain 阅读(419) 评论(0) 推荐(0) 编辑
摘要: /etc/systemd/system/docker.service.d/http-proxy.conf Environment="HTTP_PROXY=http://ip:port" "NO_PROXY=localhost,*.ibm.com,192.168.0.0/16,127.0.0.1,10 阅读全文
posted @ 2021-07-05 16:25 ascertain 阅读(304) 评论(0) 推荐(0) 编辑
摘要: schema: \dnS+ 显示schema drop schema public cascade; create schema public authorization postgres;grant all on schema public to postgres;grant all on sch 阅读全文
posted @ 2021-07-02 17:55 ascertain 阅读(95) 评论(0) 推荐(0) 编辑
摘要: split package com.equal_; import java.sql.SQLException; public class Cast { public static void main(String[] args) throws SQLException{ String s="ABCD 阅读全文
posted @ 2021-07-01 17:36 ascertain 阅读(53) 评论(0) 推荐(0) 编辑
摘要: CA: Self signed root CA Intermediate CA ( can sign other CA) Intermediate CA ( can not sign other CA) end-entity certificates CA 证书 必须有 keyCertSign ex 阅读全文
posted @ 2021-07-01 17:05 ascertain 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 55 下一页