First Edition März 2008
ISBN 978-0-596-51419-8
Weitere Informationen zu diesem Buch
Inhaltsverzeichnis | Index | Probekapitel |
Inhaltsverzeichnis
Preface
Part I.. Language
Naming Conventions
Class Names
Interface Names
Method Names
Instance and Static Variable Names
Parameter and Local Variables Names
Generic Type Parameter Names
Constant Names
Enumeration Names
Package Names
AcronymsChapter 2:. Lexical Elements
Unicode and ASCII
Comments
Keywords
Identifiers
Separators
Operators
Literals
Escape Sequences
Unicode Currency SymbolsFundamental Types
Primitive Types
Literals for Primitive Types
Floating-Point Entities
Numeric Promotion of Primitive Types
Wrapper Classes
Autoboxing and UnboxingChapter 4:. Reference Types
Comparing Reference Types to Primitive Types
Default Values
Conversion of Reference Types
Converting Between Primitives and Reference Types
Passing Reference Types into Methods
Comparing Reference Types
Copying Reference Types
Memory Allocation and Garbage Collection of Reference TypesChapter 5:. Object-Oriented Programming
Classes and Objects
Variable Length Argument Lists
Abstract Classes and Abstract Methods
Static Data Members, Static Methods, and Static Constants
Interfaces
Enumerations
Annotations TypesChapter 6:. Statements and Blocks
Expression Statements
Empty Statement
Blocks
Conditional Statements
Iteration Statements
Transfer of Control
Synchronized Statement
Assert Statement
Exception Handling StatementsChapter 7:. Exception Handling
The Exception Hierarchy
Checked/Unchecked Exceptions and Errors
Common Checked/Unchecked Exceptions and Errors
Exception Handling Keywords
The Exception Handling Process
Defining Your Own Exception Class
Printing Information About ExceptionsJava Modifiers
Access Modifiers
Other (Non-Access) ModifiersPart II.. Platform
Java Platform, SE
Common Java SE API LibrariesDevelopment Basics
Java Runtime Environment
Java Development Kit
Java Program Structure
Command-Line Tools
ClasspathBasic Input and Output
Standard Streams in, out, and err
Class Hierarchy for Basic Input and Output
File Reading and Writing
Socket Reading and Writing
Serialization
Zipping and Unzipping Files
File and Directory HandlingJava Collections Framework
The Collection Interface
Implementations
Collection Framework Methods
Collections Class Algorithms
Algorithm Efficiencies
Comparator InterfaceGenerics Framework
Generic Classes and Interfaces
Constructors with Generics
Substitution Principle
Type Parameters, Wildcards, and Bounds
The Get and Put Principle
Generic Specialization
Generic Methods in Raw TypesConcurrency
Creating Threads
Thread States
Thread Priorities
Common Methods
Synchronization
Concurrent UtilitiesMemory Management
Garbage Collectors
Memory Management Tools
Command-Line Options
Resizing the JVM Heap
Interfacing with the GCThe Java Scripting API
Scripting Languages
Script Engine Implementations
Setting Up Scripting Languages and EnginesThird-Party Tools
Development Tools
Libraries
IDEs
Web Application Platforms
Scripting LanguagesUML Basics
Class Diagrams
Object Diagrams
Graphical Icon Representation
Connectors
Multiplicity Indicators
Role Names
Class Relationships
Sequence DiagramsIndex
Zurück zu Java Pocket Guide
