08 2019 档案
摘要:if you want to be a better javaer, you should spent time on apache commons.
阅读全文
摘要:StringBuffer A thread-safe, mutable sequence of characters. A string buffer is like a String, but can be modified. At any point in time it contains so
阅读全文
摘要:centos7及以后修改hostname, hostnamectl set-hostname centos7 centos7之前修改hostname, vi /etc/sysconfig/network ; HOSTNAME=your_host_name linux挂载移动存储介质, mount /
阅读全文
摘要:阿里云docker镜像加速地址:https://cr.console.aliyun.com/#/accelerator docker 安装: docker build -t soar/centos:7.1 . 通过当前目录下的Dockerfile创建一个名为soar/centos:7.1的镜像 do
阅读全文
摘要:package com.hello; public class HiAnnotation { /* 注解用于给java代码添加额外的信息,基于这些奇妙的信息,使代码更具表现力。 在SpingBoot 中,使用@Component注解标识一个类,就可以向Spring容器添加一个bean。 但是发生了什么? */ /* 发生了什么,在网上找啊找的,找到了很多,没看懂,时隔好几年,在学习煮咖啡的过程中
阅读全文
摘要:内容思路来自Java编程思想,个人读书做的笔记,仅个人复习之用,故他人参考请自行辨别内容是否有错误。 在类的类部可以定义类,叫做内部类。如果这个内部类被static修饰,此时内部的类叫做嵌套类。 内部类用在哪里,解决了什么问题? 内部类中一定包含的有外部类的引用,即Outer.this, 故,创建内
阅读全文