auto commit

This commit is contained in:
CyC2018 2018-03-13 10:25:15 +08:00
parent 6751736cf2
commit cc389be766
2 changed files with 22 additions and 22 deletions

View File

@ -171,7 +171,7 @@ Object obj = new Object();
```java
Object obj = new Object();
WeakReference<Object> wf = new WeakReference<Object>(obj);
SoftReference<Object> sf = new SoftReference<Object>(obj);
```
#### 1.3.3 弱引用

View File

@ -208,13 +208,13 @@ a.+c
**匹配结果**
public void fun() {
&nbsp;&nbsp;&nbsp;&nbsp; **// 注释 1**
&nbsp;&nbsp;&nbsp;&nbsp; int a = 1;
&nbsp;&nbsp;&nbsp;&nbsp; int b = 2;
&nbsp;&nbsp;&nbsp;&nbsp; **// 注释 2**
&nbsp;&nbsp;&nbsp;&nbsp; int c = a + b;
}
1. public void fun() {
2. &nbsp;&nbsp;&nbsp;&nbsp; **// 注释 1**
3. &nbsp;&nbsp;&nbsp;&nbsp; int a = 1;
4. &nbsp;&nbsp;&nbsp;&nbsp; int b = 2;
5. &nbsp;&nbsp;&nbsp;&nbsp; **// 注释 2**
6. &nbsp;&nbsp;&nbsp;&nbsp; int c = a + b;
7. }
# 使用子表达式
@ -240,9 +240,9 @@ public void fun() {
**匹配结果**
**1900
2010**
1020
1. **1900
2. 2010**
3. 1020
**应用**
@ -261,8 +261,8 @@ public void fun() {
**匹配结果**
**192.168.0.1**
555.555.555.555
1. **192.168.0.1**
2. 555.555.555.555
# 回溯引用
@ -282,9 +282,9 @@ public void fun() {
**匹配结果**
**&lt;h1>x&lt;/h1>
&lt;h2>x&lt;/h2>**
&lt;h3>x&lt;/h1>
1. **&lt;h1>x&lt;/h1>
2. &lt;h2>x&lt;/h2>**
3. &lt;h3>x&lt;/h1>
## 替换
@ -386,9 +386,9 @@ aBCd
**结果**
**(abc)**
**abc**
(abc
1. **(abc)**
2. **abc**
3. (abc
## 前后查找条件
@ -404,6 +404,6 @@ aBCd
**结果**
**11111**
22222-
**33333-4444**
1. **11111**
2. 22222-
3. **33333-4444**