
Java 5.0 Tiger: A Developer's Notebook
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Contents
- The Developer's Notebook Series
- Notebooks Are...
- Notebooks Aren't...
- Organization
- Preface
- Organization
- How This Book Was Written
- About the Examples
- Conventions Used in This Book
- How to Contact Us
- Acknowledgments from Brett
- Acknowledgments from David
- Chapter 1. What's New?
- Working with Arrays
- Using Queues
- Ordering Queues Using Comparators
- Overriding Return Types
- Taking Advantage of Better Unicode
- Adding String Builder to the Mix
- Chapter 2. Generics
- Using Type-Safe Lists
- Using Type-Safe Maps
- Iterating Over Parameterized Types
- Accepting Parameterized Types as Arguments
- Returning Parameterized Types
- Using Parameterized Types as Type Parameters
- Checking for Lint
- Generics and Type Conversions
- Using Type Wildcards
- Writing Generic Types
- Restricting Type Parameters
- Chapter 3. Enumerated Types
- Creating an Enum
- Declaring Enums Inline
- Iterating Over Enums
- Switching on Enums
- Maps of Enums
- Sets of Enums
- Adding Methods to an Enum
- Implementing Interfaces with Enums
- Value-Specific Class Bodies
- Manually Defining an Enum
- Extending an Enum
- Chapter 4. Autoboxing and Unboxing
- Converting Primitives to Wrapper Types
- Converting Wrapper Types to Primitives
- Incrementing and Decrementing Wrapper Types
- Boolean Versus boolean
- Conditionals and Unboxing
- Control Statements and Unboxing
- Method Overload Resolution
- Chapter 5. varargs
- Creating a Variable-Length Argument List
- Iterating Over Variable-Length Argument Lists
- Allowing Zero-Length Argument Lists
- Specify Object Arguments Over Primitives
- Avoiding Automatic Array Conversion
- Chapter 6. Annotations
- Using Standard Annotation Types
- Annotating an Overriding Method
- Annotating a Deprecated Method
- Suppressing Warnings
- Creating Custom Annotation Types
- Annotating Annotations
- Defining an Annotation Type's Target
- Setting the Retention of an Annotation Type
- Documenting Annotation Types
- Setting Up Inheritance in Annotations
- Reflecting on Annotations
- Chapter 7. The for/in Statement
- Ditching Iterators
- Iterating over Arrays
- Iterating over Collections
- Avoiding Unnecessary Typecasts
- Making Your Classes Work with for/in
- Determining List Position and Variable Value
- Removing List Items in a for/in Loop
- Chapter 8. Static Imports
- Importing Static Members
- Using Wildcards in Static Imports
- Importing Enumerated Type Values
- Importing Multiple Members with the Same Name
- Shadowing Static Imports
- Chapter 9. Formatting
- Creating a Formatter
- Writing Formatted Output
- Using the format( ) Convenience Method
- Using the printf( ) Convenience Method
- Chapter 10. Threading
- Handling Uncaught Exceptions in Threads
- Using Thread-Safe Collections
- Using Blocking Queues
- Specifying Timeouts for Blocking
- Separating Thread Logic from Execution Logic
- Using Executor as a Service
- Using Callable Objects
- Executing Tasks Without an ExecutorService
- Scheduling Tasks
- Advanced Synchronizing
- Using Atomic Types
- Locking Versus Synchronization
- Index
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Z
- About the Authors
- Colophon
- Related Titles Available from O'Reilly
- Keep in touch with O'Reilly
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.