forked from lingcoder/OnJava8
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,58 @@ | ||
[TOC] | ||
|
||
<!-- Enumerations --> | ||
# 第二十二章 枚举 | ||
|
||
|
||
<!-- Basic enum Features --> | ||
## 基本功能 | ||
|
||
|
||
<!-- Adding Methods to an enum --> | ||
## 方法添加 | ||
|
||
|
||
<!-- enums in switch Statements --> | ||
## switch语句 | ||
|
||
|
||
<!-- The Mystery of values() --> | ||
## values方法 | ||
|
||
|
||
<!-- Implements, not Inherits --> | ||
## 实现而非继承 | ||
|
||
|
||
<!-- Random Selection --> | ||
## 随机选择 | ||
|
||
|
||
<!-- Using Interfaces for Organization --> | ||
## 使用接口组织 | ||
|
||
|
||
<!-- Using EnumSet Instead of Flags --> | ||
## 使用EnumSet替代Flags | ||
|
||
|
||
<!-- Using EnumMap --> | ||
## 使用EnumMap | ||
|
||
|
||
<!-- Constant-Specific Methods --> | ||
## 常量特定方法 | ||
|
||
|
||
<!-- Multiple Dispatching --> | ||
## 多次调度 | ||
|
||
|
||
<!-- Summary --> | ||
## 本章小结 | ||
|
||
|
||
|
||
<!-- 分页 --> | ||
|
||
<div style="page-break-after: always;"></div> |