Używamy cookies, aby ułatwić korzystanie z Portalu. Możesz określić warunki przechowywania, dostępu do plików cookies w Twojej przeglądarce. Dowiedz się więcej.
strona główna Strona główna | Nowości | Promocje | Zapowiedzi Twoje konto | Zarejestruj | Schowek | Kontakt | Pomoc
mapa działów
Szukaj: szukanie zaawansowane
Koszyk
Książki \ Programowanie \ JAVA

Java Generics and Collections Język: 2

9780596527754

Cena Brutto: 142.80

Cena netto: 136.00

Ilość:
Wersja: Drukowana
Autor Philip Wadler
Liczba_stron 288
Wydawnictwo OReilly Media
Data_Wydania 2006-10-17
Poziom All Levels

Informacje podstawowe:

  • Wydawnictwo: O'Reilly Media
  • Data wydania: 17 października 2006
  • Liczba stron: 288
  • Autor/autorzy:
    • Maurice Naftalin
    • Philip Wadler

Opis:

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.

Topics covered include:

  • Fundamentals of generics: type parameters and generic methods
  • Other new features: boxing and unboxing, foreach loops, varargs
  • Subtyping and wildcards
  • Evolution not revolution: generic libraries with legacy clients andgeneric clients with legacy libraries
  • Generics and reflection
  • Design patterns for generics
  • Sets, Queues, Lists, Maps, and their implementations
  • Concurrent programming and thread safety with collections
  • Performance implications of different collections

Generics and the new collection libraries they inspired take Java to anew level. If you want to take your software development practice toa new level, this book is essential reading.

Philip Wadler is Professor of Theoretical Computer Science at theUniversity of Edinburgh, where his research focuses on the design ofprogramming languages. He is a co-designer of GJ, work thatbecame the basis for generics in Sun's Java 5.0.

Maurice Naftalin is Technical Director at Morningside Light Ltd., a software consultancy in the United Kingdom. He has most recently served as an architect and mentor at NSB Retail Systems plc, and as the leader of the client development team of a major UK government social service system.

"A brilliant exposition of generics. By far the best book on thetopic, it provides a crystal clear tutorial that starts with thebasics and ends leaving the reader with a deep understanding of boththe use and design of generics."
Gilad Bracha, Java Generics Lead, Sun Microsystems

O autorze/autorach:

Maurice Naftalin

Maurice Naftalin is Director of Software Development at Morningside Light Ltd., a software consultancy in the United Kingdom. Maurice consults mainly in object-oriented technologies and teaches Java classes part-time at Learning Tree. He has three decades' experience as a programmer, team leader, and commercial trainer.

View Maurice Naftalin's full profile page.

Philip Wadler

Philip Wadler is a professor of theoretical computer science at the University of Edinburgh, Scotland, where his research focuses on functional and logic programming. He co-authored the Generic Java standard that became the basis for generics in Sun's Java 5.0 and also contributed to the XQuery language standard base. Professor Wadler received his Ph.D., in computer science from Carnegie-Mellon University and co-wrote "Introduction to Functional Programming" (Prentice-Hall).

View Philip Wadler's full profile page.

Zawartość (spis treści):

  1. Generics

    1. Chapter 1 Introduction
      1. Generics
      2. Boxing and Unboxing
      3. Foreach
      4. Generic Methods and Varargs
      5. Assertions
    2. Chapter 2 Subtyping and Wildcards
      1. Subtyping and the Substitution Principle
      2. Wildcards with extends
      3. Wildcards with super
      4. The Get and Put Principle
      5. Arrays
      6. Wildcards Versus Type Parameters
      7. Wildcard Capture
      8. Restrictions on Wildcards
    3. Chapter 3 Comparison and Bounds
      1. Comparable
      2. Maximum of a Collection
      3. A Fruity Example
      4. Comparator
      5. Enumerated Types
      6. Multiple Bounds
      7. Bridges
      8. Covariant Overriding
    4. Chapter 4 Declarations
      1. Constructors
      2. Static Members
      3. Nested Classes
      4. How Erasure Works
    5. Chapter 5 Evolution, Not Revolution
      1. Legacy Library with Legacy Client
      2. Generic Library with Generic Client
      3. Generic Library with Legacy Client
      4. Legacy Library with Generic Client
      5. Conclusions
    6. Chapter 6 Reification
      1. Reifiable Types
      2. Instance Tests and Casts
      3. Exception Handling
      4. Array Creation
      5. The Principle of Truth in Advertising
      6. The Principle of Indecent Exposure
      7. How to Define ArrayList
      8. Array Creation and Varargs
      9. Arrays as a Deprecated Type?
      10. Summing Up
    7. Chapter 7 Reflection
      1. Generics for Reflection
      2. Reflected Types are Reifiable Types
      3. Reflection for Primitive Types
      4. A Generic Reflection Library
      5. Reflection for Generics
      6. Reflecting Generic Types
    8. Chapter 8 Effective Generics
      1. Take Care when Calling Legacy Code
      2. Use Checked Collections to Enforce Security
      3. Specialize to Create Reifiable Types
      4. Maintain Binary Compatibility
    9. Chapter 9 Design Patterns
      1. Visitor
      2. Interpreter
      3. Function
      4. Strategy
      5. Subject-Observer
  2. Collections

    1. Chapter 10 The Main Interfaces of the Java Collections Framework
    2. Chapter 11 Preliminaries
      1. Iterable and Iterators
      2. Implementations
      3. Efficiency and the O-Notation
      4. Contracts
      5. Collections and Thread Safety
    3. Chapter 12 The Collection Interface
      1. Using the Methods of Collection
      2. Implementing Collection
      3. Collection Constructors
    4. Chapter 13 Sets
      1. Implementing Set
      2. SortedSet and NavigableSet
      3. Comparing Set Implementations
    5. Chapter 14 Queues
      1. Using the Methods of Queue
      2. Implementing Queue
      3. BlockingQueue
      4. Deque
      5. Comparing Queue Implementations
    6. Chapter 15 Lists
      1. Using the Methods of List
      2. Implementing List
      3. Comparing List Implementations
    7. Chapter 16 Maps
      1. Using the Methods of Map
      2. Implementing Map
      3. SortedMap and NavigableMap
      4. ConcurrentMap
      5. ConcurrentNavigableMap
      6. Comparing Map Implementations
    8. Chapter 17 The Collections Class
      1. Generic Algorithms
      2. Collection Factories
      3. Wrappers
      4. Other Methods
  1. Colophon

powrót
 
Produkty Podobne
Programowanie w języku Kotlin. The Big Nerd Ranch Guide
Ciągłe dostarczanie oprogramowania w języku Java. Najlepsze narzędzia i praktyki wdrażania kodu
Java dla zupełnie początkujących. Owoce programowania. Wydanie VII
Algorytmy, struktury danych i techniki programowania dla programistów Java
Java EE 8. Wzorce projektowe i najlepsze praktyki
Struktury danych i algorytmy w języku Java. Przewodnik dla początkujących
Modularny JavaScript dla zaawansowanych
Core Java, Volume II--Advanced Features, 11th Edition
Java. Kompendium programisty. Wydanie X
Kotlin w akcji
Więcej produktów