Java Generics and Collections und über 1 Million weitere Bücher verfügbar für Amazon Kindle . Erfahren Sie mehr


oder
Loggen Sie sich ein, um 1-Click® einzuschalten.
Alle Angebote
Möchten Sie verkaufen? Hier verkaufen
Java Generics and Collections
 
 
Beginnen Sie mit dem Lesen von Java Generics and Collections auf Ihrem Kindle in weniger als einer Minute.

Sie haben keinen Kindle? Hier kaufen oder eine gratis Kindle Lese-App herunterladen.

Java Generics and Collections [Englisch] [Taschenbuch]

Maurice Naftalin , Philip Wadler
4.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)
Statt: EUR 28,99
Jetzt: EUR 22,95 kostenlose Lieferung. Siehe Details.
Sie sparen: EUR 6,04 (21%)
  Alle Preisangaben inkl. MwSt.
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Auf Lager. Zustellung kann bis zu 2 zusätzliche Tage in Anspruch nehmen.
Verkauf und Versand durch Amazon.de. Geschenkverpackung verfügbar.
Nur noch 9 Stück auf Lager - jetzt bestellen.

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 15,78  
Taschenbuch EUR 22,95  

Wird oft zusammen gekauft

Java Generics and Collections + Java Concurrency in Practice + Effective Java: A Programming Language Guide (Java Series)
Preis für alle drei: EUR 94,85

Einige dieser Artikel sind schneller versandfertig als andere. Details anzeigen

Die ausgewählten Artikel zusammen kaufen
  • Auf Lager. Zustellung kann bis zu 2 zusätzliche Tage in Anspruch nehmen.
    Verkauf und Versand durch Amazon.de.
    Kostenlose Lieferung. Details

  • Java Concurrency in Practice EUR 34,95

    Auf Lager.
    Verkauf und Versand durch Amazon.de.
    Kostenlose Lieferung. Details

  • Effective Java: A Programming Language Guide (Java Series) EUR 36,95

    Auf Lager.
    Verkauf und Versand durch Amazon.de.
    Kostenlose Lieferung. Details


Kunden, die diesen Artikel gekauft haben, kauften auch


Produktinformation

  • Taschenbuch: 284 Seiten
  • Verlag: O'Reilly Media; Auflage: 1 (3. November 2006)
  • Sprache: Englisch
  • ISBN-10: 0596527756
  • ISBN-13: 978-0596527754
  • Größe und/oder Gewicht: 23,3 x 18 x 1,8 cm
  • Durchschnittliche Kundenbewertung: 4.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)
  • Amazon Bestseller-Rang: Nr. 9.105 in Englische Bücher (Siehe Top 100 in Englische Bücher)

Mehr über die Autoren

Entdecken Sie Bücher, lesen Sie über Autoren und mehr

Produktbeschreibungen

Pressestimmen

"Wer schon länger mit Java entwickelt, aber sich noch nicht vollständig in die Generics und Collections eingearbeitet hat, wird sich anhand der Beispiele sofort zurechtfinden und Programmier-Rezepte für den Alltag finden, die sich ohne große Mühe übernehmen lassen. Die Autoren beschreiben dabei nicht nur, wie sich ein bestimmtes Problem im Gegensatz zu früheren Java-Versionen nun besser und einfacher lösen läst. Sie erläutern beispielsweise auch, warum die Methoden des Collections-Frameworks teils effizienter sind und belegen dies anhand der O-Notation, mit der die Laufzeit von Algorithmen bewertet werden kann. [...] Für effiziente und zeitgemäße Java-Entwicklung sind die Generics- und Collections-APIs von essentieller Bedeutung. Wer sich umfassend über die Möglichkeiten des Frameworks informieren will, ist mit diesem Buch gut beraten." - IT-Rezensionen.de, Juli 2007 Lesen Sie die ausführliche Besprechung unter: http://www.it-rezensionen.de/content/view/660/1/

Kurzbeschreibung

This comprehensive guide shows you how to master the most important changes to Java since it was first released. Generics and the greatly expanded collection libraries have tremendously increased the power of Java 5 and Java 6. But they have also confused many developers who haven't known how to take advantage of these new features. Java Generics and Collections covers everything from the most basic uses of generics to the strangest corner cases. It teaches you everything you need to know about the collections libraries, so you'll always know which collection is appropriate for any given task, and how 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 and generic 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 a new level. If you want to take your software development practice to a new level, this book is essential reading. Philip Wadler is Professor of Theoretical Computer Science at the University of Edinburgh, where his research focuses on the design of programming languages. He is a co-designer of GJ, work that became 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 the topic, it provides a crystal clear tutorial that starts with the basics and ends leaving the reader with a deep understanding of both the use and design of generics." Gilad Bracha, Java Generics Lead, Sun Microsystems

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


In diesem Buch (Mehr dazu)
Ausgewählte Seiten ansehen
Buchdeckel | Copyright | Inhaltsverzeichnis | Auszug | Stichwortverzeichnis | Rückseite
Hier reinlesen und suchen:

Tags, die Kunden mit diesem Produkt verbinden

 (Was ist das?)
Klicken Sie zum Suchen verwandter Artikel, Diskussionen oder Personen auf ein Tag.
 
(2)

 

Kundenrezensionen

4 Sterne
0
2 Sterne
0
1 Sterne
0
Die hilfreichsten Kundenrezensionen
5 von 6 Kunden fanden die folgende Rezension hilfreich
direkt und praxisnah 23. Januar 2008
Format:Taschenbuch
beim lesen des buches dachte ich schon nach den ersten paar seiten: "aha, schon etwas gelernt".
mit praxisnahen beispielen und codebeispielen kann man direkt in die konzepte von java generics einsteigen. die beispiele verdeutlichen auch sehr gut die verwendung von wildcards und den extends/super konstrukten, die mir vorher nie ganz klar waren.

sehr interessant sind auch die erläuterungen zum neuen java collection framework, welches im zweiten teil des buches übersichtlich beschrieben wird.
War diese Rezension für Sie hilfreich?
6 von 9 Kunden fanden die folgende Rezension hilfreich
Generics UND Collections 24. Juni 2007
Von Carlo LF
Format:Taschenbuch
Der erste Teil dieses Buches behandelt sehr ausführlich das, was der groß geschriebene Teiltitel des Buchtitels auch vespricht, nämlich die mit Java 5 eingezogene neue Möglichkeit, mit generischen Schnittstellen zu arbeiten. Die Generics werden hier sehr ausführlich behandelt, auch mit kritischen Verweisen auf problematische Schnittstellen in der Java API und mit vielen Hinweisen auf Stolperfallen. Was "Erasure" bedeutet und implizit mit sich bringt, wird gut dargestellt. Auch die Fragen, wie man mit "legacy code" umgeht, werden in einem Kapitel und an Beispielen gut diskutiert.

Der 2. Teil des Buches hat zum Thema den kleingeschriebenen Teil des Titels: Collections. Zwar sind die Generics insbesondere in die Collections von Java 5 eingezogen und haben dort das API entsprechend verändert. Die Behandlung im Buch ist aber ein Zwitter. Wenn man wirklich genauer etwas zu Collections lernen möchte, sollte man zu einem anderen Buche greifen. Dieser Teil des Buches hätte durchaus kürzer ausfallen können.
War diese Rezension für Sie hilfreich?
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
Amazon.com:  25 Rezensionen
17 von 17 Kunden fanden die folgende Rezension hilfreich
Excellent explanation of Java generics and its usage 3. Dezember 2006
Von calvinnme - Veröffentlicht auf Amazon.com
Format:Taschenbuch
The intent of Generics is make your Java code type-safer. While Java is a strongly typed language, it lacks type-safety when it comes to using collections. Generics were added to the Java programming language in 2004 as part of J2SE 5.0. Unlike C++ templates, generic Java code generates only one compiled version of a generic class. Generic Java classes can only use object types as type parameters -- primitive types are not allowed. Thus a List of type Integer, which uses a primitive wrapper class is legal, while a List of type int is not legal.

Part I of this book provides a thorough introduction to generics. Generics are a powerful, and sometimes controversial, new feature of the Java programming language. This part of the book describes generics, using the Collections Framework as a source of examples.

The first five chapters focus on the fundamentals of generics. Chapter 1 gives an overview of generics and other new features in Java 5, including boxing, foreach loops, and functions with a variable number of arguments. Chapter 2 reviews how subtyping works and explains how wildcards let you use subtyping in connection with generics. Chapter 3 describes how generics work with the Comparable interface, which requires a notion of bounds on type variables. Chapter 4 looks at how generics work with various declarations, including constructors, static members, and nested classes. Chapter 5 explains how to evolve legacy code to exploit generics, and how ease of evolution is a key advantage of the design of generics in Java. Once you have these five chapters under your belt, you will be able to use generics effectively in most basic situations.

The next four chapters treat advanced topics. Chapter 6 explains how the same design that leads to ease of evolution also necessarily leads to a few rough edges in the treatment of casts, exceptions, and arrays. The fit between generics and arrays is the worst rough corner of the language, so two principles are formulated to help work around the problems. Chapter 7 explains new features that relate generics and reflection, including the newly generified type "Class T" and additions to the Java library that support reflection of generic types. Chapter 8 contains advice on how to use generics effectively in practical coding. Checked collections, security issues, specialized classes, and binary compatibility are all considered. Chapter 9 presents five extended examples, looking at how generics affect five well-known design patterns: Visitor, Interpreter, Function, Strategy, and Subject-Observer. The following is a list of chapters in part one:

Chapter 1. Introduction

Chapter 2. Subtyping and Wildcards

Chapter 3. Comparison and Bounds

Chapter 4. Declarations

Chapter 5. Evolution, Not Revolution

Chapter 6. Reification

Chapter 7. Reflection

Chapter 8. Effective Generics

Chapter 9. Design Patterns

Part II is about the Java Collections Framework, which is a set of interfaces and classes in the packages java.util and java.util.concurrent. They provide client programs with various models of how to organize their objects, and various implementations of each model. These models are sometimes called abstract data types, and they are needed because different programs need different ways of organizing their objects. In one situation, you might want to organize your program's objects in a sequential list because their ordering is important and there are duplicates. In another, a set might be the right data type because now ordering is unimportant and you want to discard the duplicates. These two data types and others are represented by different interfaces in the Collections Framework, and there are examples of their use in chapter 10. However, none of these data types has a single "best" implementation--that is, one implementation that is better than all the others for all the operations. For example, a linked list may be better than an array implementation of lists for inserting and removing elements from the middle, but much worse for random access. So choosing the right implementation for a program involves knowing how it will be used as well as what is available.

This part of the book starts with an overview of the Framework and then looks in detail at each of the main interfaces and the standard implementations of them. Finally the book examines the special-purpose implementation and generic algorithms provided in the Collections class. The following is a list of chapters in part two:

Chapter 10. The Main Interfaces of the Java Collections Framework

Chapter 11. Preliminaries

Chapter 12. The Collection Interface

Chapter 13. Sets

Chapter 14. Queues

Chapter 15. Lists

Chapter 16. Maps

Chapter 17. The Collections Class

Overall, this is a very good book on the subject of Java generics, and I highly recommend it.
21 von 23 Kunden fanden die folgende Rezension hilfreich
Good, but could be better 6. Februar 2007
Von Gregory Guthrie - Veröffentlicht auf Amazon.com
Format:Taschenbuch|Von Amazon bestätigter Kauf
Java generics are a welcome and important addition to the Java language, but because of their Erasure based implementation, they are somewhat limited and confusing to use.

This book is good in that it does cover many of the issues, and some interesting applications, but is I think limited in both explanations, and examples. Their section on Generics and Design patterns is a welcome one, but very short, and not very long on rationale or depth on other applications. If the examples they show is the only impact of generics on design patterns, something is wrong!

The standard Generics tutorials by Bracha and Langer, and the IBM DeveloperWorks series by Allen are more complete, and more descriptive, and free! I found the lumping of collections together with Generics ok, but a bit indicative that they ran out of real generics material. They are also IMHO a bit defensive on the long contested Erasure approach, but do explain their viewpoint well. They fault the C# and C++ approaches too quickly, noting the problems but not the corresponding solutions provided. Hopefully next versions of Java will (soon) provide reified versions of generics, it looks like it is in process now.

I did think it a worthwhile read, but not as much as expected.
8 von 8 Kunden fanden die folgende Rezension hilfreich
Everything you ever wanted to know about collections and generics... 17. Dezember 2006
Von Thomas Duff - Veröffentlicht auf Amazon.com
Format:Taschenbuch
This is one of the most in-depth books on the Java topics of generics and collections... Java Generics and Collections, by Maurice Naftalin and Philip Wadler. It covers the gamut from the basics to advanced...

Contents:

Part 1 - Generics: Introduction; Subtyping and Wildcards; Comparison and Bounds; Declarations; Evolution, Not Revolution; Reification; Reflection; Effective Generics; Design Patterns

Part 2 - Collections: The Main Interfaces of the Java Collections Framework; Preliminaries; The Collection Interface; Sets; Queues; Lists; Maps; The Collections Class; Index

There have been quite a few books out that deal with the new Java 5.0 features, of which generics and collections are the featured items. But few go past the basics and common usage. Naftalin and Wadler devote this entire book to just those new features, which means they can spend a lot more time diving into the guts of how they work. There are nice "before generics" and "after generics" comparisons in the one section, so you can see how current coding styles can be enhanced and modified. I also liked how some basic design patterns were used to show how generics can be incorporated into standard designs. The collections material is just as helpful. Each type of collection is covered in detail, both for the reference on how it's coded as well as diagrams to show the architecture of that type of list. Again, when you get done with the section, there shouldn't be too many questions and issues surrounding collections that you can't answer or at least figure out.

Solid material, and definitely a title you'll want to have around when you start playing around with generics and collections...
Kundenrezensionen suchen
Nur in den Rezensionen zu diesem Produkt suchen

Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen, Meinungen austauschen, Einblicke gewinnen
Neue Diskussion starten
Thema:
Erster Beitrag:
Eingabe des Log-ins
 


Aktive Diskussionen in ähnlichen Foren
Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen
   
Ähnliche Foren


Lieblingslisten


Ähnliche Artikel finden


Anhand des Sachgebietes nach ähnlichen Produkten suchen:


Ihr Kommentar


Datenschutzerklärung von Amazon.de Versandbedingungen von Amazon.de Umtausch- & Rücknahme bei Amazon.de