mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-24 15:03:29 +08:00
86 lines
916 B
Markdown
86 lines
916 B
Markdown
[TOC]
|
|
|
|
<!-- Generics -->
|
|
# 第二十章 泛型
|
|
|
|
|
|
<!-- Simple Generics -->
|
|
## 简单泛型
|
|
|
|
|
|
<!-- Generic Interfaces -->
|
|
## 泛型接口
|
|
|
|
|
|
<!-- Generic Methods -->
|
|
## 泛型方法
|
|
|
|
|
|
<!-- Building Complex Models -->
|
|
## 复杂模型构建
|
|
|
|
|
|
<!-- The Mystery of Erasure -->
|
|
## 泛型擦除
|
|
|
|
|
|
<!-- Compensating for Erasure -->
|
|
## 补偿擦除
|
|
|
|
|
|
<!-- Bounds -->
|
|
## 边界
|
|
|
|
|
|
<!-- Wildcards -->
|
|
## 通配符
|
|
|
|
|
|
<!-- Issues -->
|
|
## 问题
|
|
|
|
|
|
<!-- Self-Bounded Types -->
|
|
## 自我约束类型
|
|
|
|
|
|
<!-- Dynamic Type Safety -->
|
|
## 动态类型安全
|
|
|
|
|
|
<!-- Exceptions -->
|
|
## 泛型异常
|
|
|
|
|
|
<!-- Mixins -->
|
|
## 混入
|
|
|
|
|
|
<!-- Latent Typing -->
|
|
## 潜在类型
|
|
|
|
|
|
<!-- Compensating for the Lack of (Direct) Latent -->
|
|
## 补偿不足
|
|
|
|
|
|
<!-- Assisted Latent Typing in Java 8 -->
|
|
## 辅助潜在类型
|
|
|
|
|
|
<!-- Summary: Is Casting Really So Bad? -->
|
|
## 泛型的优劣
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 分页 -->
|
|
|
|
<div style="page-break-after: always;"></div> |