서브메뉴

본문

Java Generics and Collections
Java Generics and Collections
저자 : Maurice Naftalin|Philip Wadler
출판사 : O'REILLY
출판년 : 2006
ISBN : 9780596527754

책소개


Java Generics was probably the most important feature added to the Java Language for Java 5.0. This book, written by one of the designers of generics, is a thorough explanation of how to use generics, and particularly, the effect this facility has on the way you use collections.
Generics and collections allow for greater reuse of source code. While the benefits are great, it takes extra effort for developers to generify code. This book explains why the effort is well worth the gains and teaches Java developers how to use a generic library, how to write a generic library and specify collection types, and how to generify an existing library of legacy code. "Java Generics and Collections" provides helpful hints and exercises that show the reader how to avoid the pitfalls of generics and speed up their Java development process.

목차


1 Introduction
2 Subtyping and wildcards
3 Comparison and bounds
4 Declarations
5 Evolution, not revolution
6 Reification
7 Reflection
8 Effective generics
9 Design patterns
10 The main interfaces of the Java collections framework
11 Preliminaries
12 The collection interface
13 Sets
14 Queues
15 Lists
16 Maps
17 The collection class

QuickMenu