Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Cover Table of Contents Introduction
About This Book Foolish Assumptions Icons Used in This Book Beyond the Book Where to Go from Here
Book 1: Java Basics
Chapter 1: Welcome to Java
What Is Java, and Why Is It So Great? Java versus Other Languages Important Features of the Java Language On the Downside: Java’s Weaknesses Java Version Insanity What’s in a Name?
Chapter 2: Installing and Using Java Tools
Downloading and Installing the Java Development Kit Using Java’s Command-Line Tools Using Java Documentation
Chapter 3: Working with TextPad
Downloading and Installing TextPad Editing Source Files Compiling a Program Running a Java Program
Book 2: Programming Basics
Chapter 1: Java Programming Basics
Looking at the Infamous Hello, World! Program Dealing with Keywords Working with Statements Working with Blocks Creating Identifiers Crafting Comments Introducing Object-Oriented Programming Importing Java API Classes
Chapter 2: Working with Variables and Data Types
Declaring Variables Initializing Variables Using Final Variables (Constants) Working with Primitive Data Types Working with Strings Converting and Casting Numeric Data Thinking Inside the Box Understanding Scope Shadowing Variables Printing Data with System.out Getting Input with the Scanner Class Getting Input with the JOptionPane Class Using enum to Create Your Own Data Types
Chapter 3: Working with Numbers and Expressions
Working with Arithmetic Operators Dividing Integers Combining Operators Using the Unary Plus and Minus Operators Using Increment and Decrement Operators Using the Assignment Operator Using Compound Assignment Operators Using the Math Class Formatting Numbers Recognizing Weird Things about Java Math
Chapter 4: Making Choices
Using Simple Boolean Expressions Using if Statements Using Mr. Spock’s Favorite Operators (Logical Ones, of Course) Using the Conditional Operator Comparing Strings
Chapter 5: Going Around in Circles (Or, Using Loops)
Using Your Basic while Loop Breaking Out of a Loop Looping Forever Using the continue Statement Running do-while Loops Validating Input from the User Using the Famous for Loop Nesting Your Loops
Chapter 6: Pulling a Switcheroo
Battling else-if Monstrosities Using the switch Statement Creating Character Cases Intentionally Leaving Out a Break Statement Switching with Strings Enhanced Switch Features with Java 13
Chapter 7: Adding Some Methods to Your Madness
The Joy of Methods The Basics of Making Methods Methods That Return Values Methods That Take Parameters
Chapter 8: Handling Exceptions
Understanding Exceptions Catching Exceptions Handling Exceptions with a Preemptive Strike Catching All Exceptions at Once Displaying the Exception Message Using a finally Block Handling Checked Exceptions Throwing Your Own Exceptions
Book 3: Object-Oriented Programming
Chapter 1: Understanding Object-Oriented Programming
What Is Object-Oriented Programming? Understanding Objects Understanding the Life Cycle of an Object Working with Related Classes Designing a Program with Objects Diagramming Classes with UML
Chapter 2: Making Your Own Classes
Declaring a Class Working with Members Using Getters and Setters Overloading Methods Creating Constructors Finding More Uses for the this Keyword Using Initializers Using Records
Chapter 3: Working with Statics
Understanding Static Fields and Methods Working with Static Fields Using Static Methods Counting Instances Preventing Instances Using Static Initializers
Chapter 4: Using Subclasses and Inheritance
Introducing Inheritance Creating Subclasses Overriding Methods Protecting Your Members Using this and super in Your Subclasses Understanding Inheritance and Constructors Using final Casting Up and Down Determining an Object’s Type Poly What? Creating Custom Exceptions
Chapter 5: Using Abstract Classes and Interfaces
Using Abstract Classes Using Interfaces More Things You Can Do with Interfaces Using Additional Interface Method Types
Chapter 6: Using the Object and Class Classes
The Mother of All Classes: Object The toString Method The equals Method The clone Method The Class Class
Chapter 7: Using Inner Classes, Anonymous Classes, and Lambda Expressions
Declaring Inner Classes Using Static Inner Classes Using Anonymous Inner Classes Using Lambda Expressions
Chapter 8: Working with Packages and the Java Module System
Working with Packages Putting Your Classes in a JAR File Using Javadoc to Document Your Classes Using the Java Module System
Book 4: Strings, Arrays, and Collections
Chapter 1: Working with Strings
Reviewing Strings Using the String Class Using the StringBuilder and StringBuffer Classes Using the CharSequence Interface
Chapter 2: Using Arrays
Understanding Arrays Creating Arrays Initializing an Array Using for Loops with Arrays Solving Homework Problems with Arrays Using the Enhanced for Loop Using Arrays with Methods Using Varargs Using Two-Dimensional Arrays Working with a Fun but Complicated Example: A Chessboard Using the Arrays Class
Chapter 3: Using the ArrayList Class
Understanding the ArrayList Class Creating an ArrayList Object Adding Elements Accessing Elements Printing an ArrayList Using an Iterator Updating Elements Deleting Elements
Chapter 4: Using the LinkedList Class
Understanding the LinkedList Class Creating a LinkedList Adding Items to a LinkedList Retrieving Items from a LinkedList Updating LinkedList Items Removing LinkedList Items
Chapter 5: Creating Generic Collection Classes
Why Generics? Creating a Generic Class A Generic Stack Class Using Wildcard-Type Parameters A Generic Queue Class
Chapter 6: Using Bulk Data Operations with Collections
Looking At a Basic Bulk Data Operation Looking Closer at the Stream Interface Using Parallel Streams
Book 5: Programming Techniques
Chapter 1: Programming Threads
Understanding Threads Creating a Thread Implementing the Runnable Interface Creating Threads That Work Together Using an Executor Synchronizing Methods Creating a Lock Coping with Threadus Interruptus
Chapter 2: Using Regular Expressions
Creating a Program for Experimenting with Regular Expressions Performing Basic Character Matching Using Regular Expressions in Java Programs
Chapter 3: Using Recursion
Calculating the Classic Factorial Example Displaying Directories Writing Your Own Sorting Routine
Chapter 4: Working with Dates and Times
Pondering How Time is Represented Picking the Right Date and Time Class for Your Application Using the now Method to Create a Date-Time Object Using the parse Method to Create a Date-Time Object Using the of Method to Create a Date-Time Object Looking Closer at the LocalDate Class Extracting Information About a Date Comparing Dates Calculating with Dates Formatting Dates Looking at a Fun Birthday Calculator
Chapter 5: IoT Programming with Raspberry Pi
Introducing the Raspberry Pi Setting Up a Raspberry Pi Installing Java on a Raspberry Pi Installing the Pi4J Library Configuring the Geany Integrated Development Environment for Java Development Examining GPIO Ports Connecting an LED to a GPIO Port Building a Raspberry Pi LED Circuit Examining the Pi4J Library Importing GPIO Types Instantiating a GpioController Provisioning GPIO Pins Controlling the Pin State The Morse Code Program The Cylon Eyes Program Working with Input Pins Running the Button Switcher Program Finding a Better Way to Handle Input Events
Book 6: JavaFX
Chapter 1: Hello, JavaFX!
Perusing the Possibilities of JavaFX Getting Ready to Run JavaFX Looking at a Simple JavaFX Program Importing JavaFX Packages Extending the Application Class Launching the Application Overriding the start Method Creating a Button Handling an Action Event Creating a Layout Pane Making a Scene Setting the Stage Examining the Click Counter Program
Chapter 2: Handling Events
Examining Events Handling Events Implementing the EventHandler Interface Handling Events with Inner Classes Handling Events with Anonymous Inner Classes Using Lambda Expressions to Handle Events
Chapter 3: Setting the Stage and Scene Layout
Examining the Stage Class Examining the Scene Class Switching Scenes Creating an Alert Box Exit, Stage Right
Chapter 4: Using Layout Panes to Arrange Your Scenes
Working with Layout Panes Using the HBox Layout Spacing Things Out Adding Space with Margins Adding Space by Growing Nodes Using the VBox Layout Aligning Nodes in a Layout Pane Using the Flow Layout Using the Border Layout Using the GridPane Layout
Chapter 5: Getting Input from the User
Using Text Fields Validating Numeric Data Using Check Boxes Using Radio Buttons
Chapter 6: Choosing from a List
Using Choice Boxes Working with Observable Lists Listening for Selection Changes Using Combo Boxes Using List Views Using Tree Views
Book 7: Web Programming
Chapter 1: Creating Servlets
Understanding Servlets Using Tomcat Creating a Simple Servlet Running a Servlet Improving the HelloWorld Servlet Getting Input from the User Using Classes in a Servlet
Chapter 2: Using JavaServer Pages
Understanding JavaServer Pages Using UEL Expressions Looking at Core Tags Formatting Numbers Considering the Controller Servlet The ListMovies Application Meets JSP
Chapter 3: Using JavaBeans
Getting to Know JavaBeans Looking Over a Sample Bean Using Beans with JSP Pages Scoping Your Beans
Chapter 4: Using HttpClient
Understanding HTTP Getting Started with Java’s HTTP Client Library Putting It All Together The HTTP Tester Program
Index About the Author Advertisement Page Connect with Dummies End User License Agreement
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion