摘要:
原先Windows上的Unicode指的是UTF-16LE且带有BOM,后来Unicode有了SIP、TIP平面,现在有U+2CC56这样的编码超出了原先Unicode只在BMP平面表示的范围,但UTF-32能使用四个字节完整表示一个字符如0002CC56,UTF-16则需要用两个字符D873 DC 阅读全文
摘要:
package ersatz; import java.io.FileNotFoundException; public class Ersatz { public static void main(String[] args) throws FileNotFoundException { long 阅读全文
摘要:
package io; public class T { public static void main(String[] args) { String b = "124356789123456"; String bb = "124356789123456.124356789123456"; Sys 阅读全文
摘要:
package ersatz; public class Car { private double temperature; public Car(double temperature) { this.temperature = temperature; } private class Air { 阅读全文
摘要:
The Java Language Specification recommends listing modifiers in the following order: 1. Annotations 2. public 3. protected 4. private 5. abstract 6. s 阅读全文
摘要:
饿汉式: 构造器私有化 => 防止直接new 类内部创建对象赋予static变量 向外暴露static公共方法,返回类实例变量 package com; public class Singleton { private String name; public static int n = 22; p 阅读全文
摘要:
schema: \dnS+ 显示schema drop schema public cascade; create schema public authorization postgres;grant all on schema public to postgres;grant all on sch 阅读全文
摘要:
CA: Self signed root CA Intermediate CA ( can sign other CA) Intermediate CA ( can not sign other CA) end-entity certificates CA 证书 必须有 keyCertSign ex 阅读全文