AUTOR: Maurice, Naftalin -  Philip, Wadler
ISBN: 9780596527754
          0596527756
PÁGINAS: XVII, 273

 
   
RECOMENDADO EN LAS SIGUIENTES ASIGNATURAS
Programación orientada a objetos

 
RESUMEN

This comprehensive guide shows you how to master the most importantchanges to Java since it was first released. Generics and the greatlyexpanded collection libraries have tremendously increased the power ofJava 5 and Java 6. But they have also confused many developers whohaven't known how to take advantage of these new features.

Java Generics and Collections covers everything from the mostbasic uses of generics to the strangest corner cases. It teaches youeverything you need to know about the collections libraries, so you'llalways know which collection is appropriate for any given task, andhow to use it.
 
INDICE

Chapter 1 Introduction
Generics
Boxing and Unboxing
Foreach
Generic Methods and Varargs
Assertions
Chapter 2 Subtyping and Wildcards
Subtyping and the Substitution Principle
Wildcards with extends
Wildcards with super
The Get and Put Principle
Arrays
Wildcards Versus Type Parameters
Wildcard Capture
Restrictions on Wildcards
Chapter 3 Comparison and Bounds
Comparable
Maximum of a Collection
A Fruity Example
Comparator
Enumerated Types
Multiple Bounds
Bridges
Covariant Overriding
Chapter 4 Declarations
Constructors
Static Members
Nested Classes
How Erasure Works
Chapter 5 Evolution, Not Revolution
Legacy Library with Legacy Client
Generic Library with Generic Client
Generic Library with Legacy Client
Legacy Library with Generic Client
Conclusions
Chapter 6 Reification
Reifiable Types
Instance Tests and Casts
Exception Handling
Array Creation
The Principle of Truth in Advertising
The Principle of Indecent Exposure
How to Define ArrayList
Array Creation and Varargs
Arrays as a Deprecated Type?
Summing Up
Chapter 7 Reflection
Generics for Reflection
Reflected Types are Reifiable Types
Reflection for Primitive Types
A Generic Reflection Library
Reflection for Generics
Reflecting Generic Types
Chapter 8 Effective Generics
Take Care when Calling Legacy Code
Use Checked Collections to Enforce Security
Specialize to Create Reifiable Types
Maintain Binary Compatibility
Chapter 9 Design Patterns
Visitor
Interpreter
Function
Strategy
Subject-Observer
Collections
Chapter 10 The Main Interfaces of the Java Collections Framework
Chapter 11 Preliminaries
Iterable and Iterators
Implementations
Efficiency and the O-Notation
Contracts
Collections and Thread Safety
Chapter 12 The Collection Interface
Using the Methods of Collection
Implementing Collection
Collection Constructors
Chapter 13 Sets
Implementing Set
SortedSet and NavigableSet
Comparing Set Implementations
Chapter 14 Queues
Using the Methods of Queue
Implementing Queue
BlockingQueue
Deque
Comparing Queue Implementations
Chapter 15 Lists
Using the Methods of List
Implementing List
Comparing List Implementations
Chapter 16 Maps
Using the Methods of Map
Implementing Map
SortedMap and NavigableMap
ConcurrentMap
ConcurrentNavigableMap
Comparing Map Implementations
Chapter 17 The Collections Class
Generic Algorithms
Collection Factories
Wrappers
Other Methods

Colophon