Java pocket guide
Book information
Description
Cover Copyright Table of Contents Preface Book Structure Conventions Used in This Book O’Reilly Safari How to Contact Us Acknowledgments Part I. Language Chapter 1. Naming Conventions Acronyms Annotation Names Class Names Constant Names Enumeration Names Generic Type Parameter Names Instance and Static Variable Names Interface Names Method Names Package Names Module Names Parameter and Local Variable Names Chapter 2. Lexical Elements Unicode and ASCII Printable ASCII Characters Nonprintable ASCII Characters Compact Strings Comments Keywords Identifiers Separators Operators Literals Boolean Literals Character Literals Integer Literals Floating-Point Literals String Literals Null Literals Escape Sequences Unicode Currency Symbols Chapter 3. Fundamental Types Primitive Types Literals for Primitive Types Floating-Point Entities Operations Involving Special Entities Numeric Promotion of Primitive Types Unary Numeric Promotion Binary Numeric Promotion Special Cases for Conditional Operators Wrapper Classes Autoboxing and Unboxing Autoboxing Unboxing Chapter 4. Reference Types Comparing Reference Types to Primitive Types Default Values Instance and Local Variable Objects Arrays Conversion of Reference Types Widening Conversions Narrowing Conversions Converting Between Primitives and Reference Types Passing Reference Types into Methods Comparing Reference Types Using the Equality Operators Using the equals() Method Comparing Strings Comparing Enumerations Copying Reference Types Copying a Reference to an Object Cloning Objects Memory Allocation and Garbage Collection of Reference Types Chapter 5. Object-Oriented Programming Classes and Objects Class Syntax Instantiating a Class (Creating an Object) Data Members and Methods Accessing Data Members and Methods in Objects Overloading Overriding Constructors Superclasses and Subclasses The this Keyword Variable-Length Argument Lists Abstract Classes and Abstract Methods Abstract Classes Abstract Methods Static Data Members, Static Methods, Static Constants, and Static Initializers Static Data Members Static Methods Static Constants Static Initializers Interfaces Enumerations Annotation Types Built-in Annotations Developer-Defined Annotations Functional Interfaces Chapter 6. Statements and Blocks Expression Statements Empty Statement Blocks Conditional Statements The if Statement The if else Statement The if else if Statement The switch Statement Iteration Statements The for Loop The Enhanced for Loop The while Loop The do while Loop Transfer of Control The break Statement The continue Statement The return Statement Synchronized Statement Assert Statement Exception Handling Statements Chapter 7. Exception Handling The Exception Hierarchy Checked/Unchecked Exceptions and Errors Checked Exceptions Unchecked Exceptions Errors Common Checked/Unchecked Exceptions and Errors Common Checked Exceptions Common Unchecked Exceptions Common Errors Exception Handling Keywords The throw Keyword The try/catch/finally Keywords The try-catch Statement The try-finally Statement The try-catch-finally Statement The try-with-resources Statement The multi-catch Clause The Exception Handling Process Defining Your Own Exception Class Printing Information About Exceptions The getMessage() Method The toString() Method The printStackTrace() Method Chapter 8. Java Modifiers Access Modifiers Other (Nonaccess) Modifiers Modifiers Encoding Part II. Platform Chapter 9. Java Platform, Standard Edition Common Java SE API Libraries Language and Utility Libraries Base Libraries Integration Libraries Miscellaneous User Interface Libraries JavaFX User Interface Library Remote Method Invocation (RMI) and CORBA Libraries Security Libraries Extensible Markup Language (XML) Libraries Chapter 10. Development Basics Java Runtime Environment Java Development Kit Java Program Structure Command-Line Tools Java Compiler Java Interpreter Java Program Packager JAR File Execution Classpath Chapter 11. Memory Management Garbage Collectors Serial Collector Parallel Collector Parallel Compacting Collector Concurrent Mark-Sweep Collector Garbage-First (G1) Collector Memory Management Tools Command-Line Options Resizing the JVM Heap Metaspace Interfacing with the GC Explicit Garbage Collection Finalization Chapter 12. Basic Input and Output Standard Streams in, out, and err Class Hierarchy for Basic Input and Output File Reading and Writing Reading Character Data from a File Reading Binary Data from a File Writing Character Data to a File Writing Binary Data to a File Socket Reading and Writing Reading Character Data from a Socket Reading Binary Data from a Socket Writing Character Data to a Socket Writing Binary Data to a Socket Serialization Serialize Deserialize Zipping and Unzipping Files Compressing and Uncompressing GZIP Files Chapter 13. New I/O API (NIO.2) The Path Interface The Files Class Additional Features Chapter 14. Concurrency Creating Threads Extending the Thread Class Implementing the Runnable Interface Thread States Thread Priorities Common Methods Synchronization Concurrent Utilities Executors Concurrent Collections Synchronizers Timing Utility Chapter 15. Java Collections Framework The Collection Interface Implementations Collection Framework Methods Collections Class Algorithms Algorithm Efficiencies Comparator Functional Interface Convenience Factory Methods Chapter 16. Generics 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 Types Chapter 17. The Java Scripting API Scripting Languages Script Engine Implementations Embedding Scripts into Java Invoking Methods of Scripting Languages Accessing and Controlling Java Resources from Scripts Setting Up Scripting Languages and Engines Scripting Language Setup Scripting Engine Setup Scripting Engine Validation Chapter 18. Date and Time API Legacy Interoperability Regional Calendars ISO Calendar Machine Interface Durations and Periods JDBC and XSD Mapping Formatting Chapter 19. Lambda Expressions λEs Basics λEs Syntax and Example Method and Constructor References Specific-Purpose Functional Interfaces General-Purpose Functional Interfaces Resources for λEs Tutorials Community Resources Chapter 20. JShell: the Java Shell Getting Started Snippets Modifiers Flow Control Statements Package Declarations Using JShell Primary Expressions Dependencies Statements and Code Blocks Method and Class Declarations Viewing, Deleting, and Modifying Snippets Saving, Loading, and State JShell Features Scratch Variables Tab Auto-Complete Forward Referencing Checked Exceptions Hierarchy and Scope Summary of JShell Commands Chapter 21. Java Module System Project Jigsaw Java Modules Automatic Modules Unnamed Modules Accessibility Compiling Modules Modular JDK jdeps Identifying Dependencies Identifying Undocumented JDK Internal Dependencies Defining a Module Exporting a Package Declaring Dependencies Transitive Dependencies Defining Service Providers Defining Service API Implementing Service API Using Service Providers jlink Part III. Appendixes Appendix A. Fluent APIs Appendix B. Third-Party Tools Development, CM, and Test Tools Libraries Integrated Development Environments Web Application Platforms Scripting Languages Compatible with JSR-223 Appendix C. UML Basics Class Diagrams Name Attributes Operations Visibility Object Diagrams Graphical Icon Representation Classes, Abstract Classes, and Interfaces Notes Packages Connectors Multiplicity Indicators Role Names Class Relationships Association Direct Association Composition Association Aggregation Association Temporary Association Generalization Realization Sequence Diagrams Participant (1) Found Message (2) Synchronous Message (3) Return Call (4) Asynchronous Message (5) Message to Self (6) Lifeline (7) Activation Bar (8) Index
Similar books
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF
Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix
2008 · PDF