| 1. Java Generics and Collections |
| 2. Table of Contents |
| 3. Copyright |
| 4. Dedication | Dedication |
| 5. Preface | Preface Obtaining the Example Programs How to Contact Us Conventions Used in This Book Using Code Examples Safari Enabled Acknowledgments |
| 6. Part I: Generics |
| 7. Chapter 1. Introduction | Chapter 1. Introduction |
| 8. Section 1.1. Generics | 1.1. Generics |
| 9. Section 1.2. Boxing and Unboxing | 1.2. Boxing and Unboxing |
| 10. Section 1.3. Foreach | 1.3. Foreach |
| 11. Section 1.4. Generic Methods and Varargs | 1.4. Generic Methods and Varargs |
| 12. Section 1.5. Assertions | 1.5. Assertions |
| 13. Chapter 2. Subtyping and Wildcards | Chapter 2. Subtyping and Wildcards |
| 14. Section 2.1. Subtyping and the Substitution Principle | 2.1. Subtyping and the Substitution Principle |
| 15. Section 2.2. Wildcards with extends | 2.2. Wildcards with extends |
| 16. Section 2.3. Wildcards with super | 2.3. Wildcards with super |
| 17. Section 2.4. The Get and Put Principle | 2.4. The Get and Put Principle |
| 18. Section 2.5. Arrays | 2.5. Arrays |
| 19. Section 2.6. Wildcards Versus Type Parameters | 2.6. Wildcards Versus Type Parameters |
| 20. Section 2.7. Wildcard Capture | 2.7. Wildcard Capture |
| 21. Section 2.8. Restrictions on Wildcards | 2.8. Restrictions on Wildcards |
| 22. Chapter 3. Comparison and Bounds | Chapter 3. Comparison and Bounds |
| 23. Section 3.1. Comparable | 3.1. Comparable |
| 24. Section 3.2. Maximum of a Collection | 3.2. Maximum of a Collection |
| 25. Section 3.3. A Fruity Example | 3.3. A Fruity Example |
| 26. Section 3.4. Comparator | 3.4. Comparator |
| 27. Section 3.5. Enumerated Types | 3.5. Enumerated Types |
| 28. Section 3.6. Multiple Bounds | 3.6. Multiple Bounds |
| 29. Section 3.7. Bridges | 3.7. Bridges |
| 30. Section 3.8. Covariant Overriding | 3.8. Covariant Overriding |
| 31. Chapter 4. Declarations | Chapter 4. Declarations |
| 32. Section 4.1. Constructors | 4.1. Constructors |
| 33. Section 4.2. Static Members | 4.2. Static Members |
| 34. Section 4.3. Nested Classes | 4.3. Nested Classes |
| 35. Section 4.4. How Erasure Works | 4.4. How Erasure Works |
| 36. Chapter 5. Evolution, Not Revolution | Chapter 5. Evolution Not Revolution |
| 37. Section 5.1. Legacy Library with Legacy Client | 5.1. Legacy Library with Legacy Client |
| 38. Section 5.2. Generic Library with Generic Client | 5.2. Generic Library with Generic Client |
| 39. Section 5.3. Generic Library with Legacy Client | 5.3. Generic Library with Legacy Client |
| 40. Section 5.4. Legacy Library with Generic Client | 5.4. Legacy Library with Generic Client |
| 41. Section 5.5. Conclusions | 5.5. Conclusions |
| 42. Chapter 6. Reification | Chapter 6. Reification |
| 43. Section 6.1. Reifiable Types | 6.1. Reifiable Types |
| 44. Section 6.2. Instance Tests and Casts | 6.2. Instance Tests and Casts |
| 45. Section 6.3. Exception Handling | 6.3. Exception Handling |
| 46. Section 6.4. Array Creation | 6.4. Array Creation |
| 47. Section 6.5. The Principle of Truth in Advertising | 6.5. The Principle of Truth in Advertising |
| 48. Section 6.6. The Principle of Indecent Exposure | 6.6. The Principle of Indecent Exposure |
| 49. Section 6.7. How to Define ArrayList | 6.7. How to Define ArrayList |
| 50. Section 6.8. Array Creation and Varargs | 6.8. Array Creation and Varargs |
|
|
Authors: Naftalin M. Wadler P. ISBN: 0596527756 Current page: 1 from 136 This Manual are presented on flylib.comOur library present to you materials from book Java Generics and Collections. Warning! The page Table of content from this book is informational only! Do not print out this page! Do NOT SUBMIT this page as part of your website or work without confirmation from the authors. You can read the contents of the book, but we strongly recommend that you purchase. or example, you can Buy this book on Amazon.com |