Java Pocket Guide

Java Pocket Guide

Bokia.no

  • 99 kr

Kun 1 igjen

Java Pocket Guide. PrefacexiPart I. LanguageChapter 1: Naming Conventions3Class Names3Interface Names3Method Names3Instance and Static Variable Names4Parameter and Local Variables Names4Generic Type Parameter Names4Constant Names5Enumeration Names5Package Names5Acronyms5Chapter 2: Lexical Elements6Unicode and ASCII6Comments8Keywords9Identifiers10Separators10Operators10Literals12Escape Sequences15Unicode Currency Symbols15Chapter 3: Fundamental Types17Primitive Types17Literals for Primitive Types18Floating-Point Entities20Numeric Promotion of Primitive Types21Wrapper Classes23Autoboxing and Unboxing24Chapter 4: Reference Types26Comparing Reference Types to Primitive Types26Default Values27Conversion of Reference Types28Converting Between Primitives and Reference Types29Passing Reference Types into Methods30Comparing Reference Types31Copying Reference Types33 Memory Allocation and Garbage Collection of Reference Types35Chapter 5: Object-Oriented Programming36Classes and Objects36Variable Length Argument Lists42Abstract Classes and Abstract Methods43Static Data Members, Static Methods, and Static Constants44Interfaces46Enumerations46Annotations Types47Chapter 6: Statements and Blocks50Expression Statements50Empty Statement51Blocks51Conditional Statements51Iteration Statements53Transfer of Control54Synchronized Statement56Assert Statement56Exception Handling Statements57Chapter 7: Exception Handling58The Exception Hierarchy58Checked/Unchecked Exceptions and Errors59Common Checked/Unchecked Exceptions and Errors60Exception Handling Keywords62The Exception Handling Process65Defining Your Own Exception Class66Printing Information About Exceptions66Chapter 8: Java Modifiers69Access Modifiers70Other (Non-Access) Modifiers71Part II. PlatformChapter 9: Java Platform, SE75Common Java SE API Libraries75Chapter 10: Development Basics87Java Runtime Environment87Java Development Kit87Java Program Structure88Command-Line Tools90Classpath96Chapter 11: Basic Input and Output97Standard Streams in, out, and err97Class Hierarchy for Basic Input and Output98File Reading and Writing99Socket Reading and Writing101Serialization103Zipping and Unzipping Files104File and Directory Handling105Chapter 12: Java Collections Framework107The Collection Interface107Implementations107Collection Framework Methods109Collections Class Algorithms109Algorithm Efficiencies110Comparator Interface112Chapter 13: Generics Framework114Generic Classes and Interfaces114Constructors with Generics115Substitution Principle115Type Parameters, Wildcards, and Bounds116The Get and Put Principle117Generic Specialization118Generic Methods in Raw Types119Chapter 14: Concurrency120Creating Threads120Thread States121Thread Priorities122Common Methods122Synchronization123Concurrent Utilities125Chapter 15: Memory Management129Garbage Collectors129Memory Management Tools131Command-Line Options132Resizing the JVM Heap134Interfacing with the GC134Chapter 16: The Java Scripting API136Scripting Languages136Script Engine Implementations136Setting Up Scripting Languages and Engines138Chapter 17: Third-Party Tools142Development Tools142Libraries144IDEs144Web Application Platforms145Scripting Languages147Chapter 18: UML Basics149Class Diagrams149Object Diagrams151Graphical Icon Representation152Connectors153Multiplicity Indicators153Role Names154Class Relationships154Sequence Diagrams156Index159

Forfattere: Robert Liguori Utgave: ukjent
Språk: Engelsk Sidetall: 177
ISBN: 9780596514198 Vekt: 319 g
Forlag: Innbinding: Heftet
Utgitt: 2008 Veil. pris: 0 kr
Kategori: Bøker
Salg

Unavailable

Sold Out