Java 7 recipes a problem-solution approach
Java 7 Recipes offers solutions to common programming problems encountered every day while developing Java-based applications. Fully updated with the newest features and techniques available, Java 7 Recipes provides code examples involving Servlets, Java FX 2.0, XML, Java Swing, and much more. Conte...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[New York] :
Apress
2012.
|
Edición: | 1st ed. 2011. |
Colección: | Expert's voice in Java.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628347006719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewers; Acknowledgments; Introduction; Who This Book Is For; How This Book Is Structured; CHAPTER 1 Getting Started with Java 7; 1-1. Downloading and Installing Java 7; Problem; Solution; How It Works; 1-2. Configuring the CLASSPATH; Problem; Solution; How It Works; 1-3. Writing an Executable Java Class; Problem; Solution; How It Works; 1-4. Compiling and Executing Java Class; Problem; Solution; How It Works; 1-5. Printing Output; Problem; Solution; How It Works
- 1-6. Passing Arguments via the Command LineProblem; Solution; How It Works; 1-7. Obtaining and Setting Environment Variable Values; Problem; Solution; How It Works; 1-8. Documenting Code with Javadoc; Problem; Solution; How It Works; 1-9. Marking Features as Deprecated; Problem; Solution; How It Works; 1-10. Creating Methods in a Class; Problem; Solution; How It Works; 1-11. Passing Arguments to Methods and Returning Values; Problem; Solution; How It Works; 1-12. Organizing Code with Packages; Problem; Solution; How It Works; 1-13. Accepting Keyboard Input from the Command Line; Problem
- SolutionHow It Works; CHAPTER 2 Strings; 2-1. Obtaining a Subsection of a String; Problem; Solution; How It Works; 2-2. Comparing Strings; Problem; Solution; How It Works; 2-3. Trimming Whitespace; Problem; Solution; How It Works; 2-4. Changing the Case of a String; Problem; Solution; How It Works; 2-5. Concatenating Strings; Problem; Solution #1; Solution #2; Solution #3; How It Works; 2-6. Converting Strings to Numeric Values; Problem; Solution #1; Solution #2; How It Works; 2-7. Iterating Over the Characters of a String; Problem; Solution; How It Works; 2-8. Finding Text Matches; Problem
- Solution #1Solution #2; How It Works; 2-9. Replacing All Text Matches; Problem; Solution; How It Works; 2-10. Determining Whether a File Name Ends with a Given String; Problem; Solution; How It Works; CHAPTER 3 Numbers and Dates; 3-1. Rounding Float and Double Values to Integers; Problem; Solution; How It Works; 3-2. Formatting Double and Long Decimal Values; Problem; Solution; How It Works; 3-3. Comparing int Values; Problem; Solution #1; Solution #2; How It Works; 3-4. Comparing Floating-Point Numbers; Problem; Solution #1; Solution #2; How It Works
- 3-5. Performing Calculations with Complex NumbersProblem; Solution; How It Works; 3-6. Formatting and Parsing Complex Numbers; Problem; Solution; How It Works; 3-7. Calculating Monetary Values; Problem; Solution; How It Works; 3-8. Randomly Generating Values; Problem; Solution #1; Solution #2; How It Works; 3-9. Obtaining the Current Date; Problem; Solution #1; Solution #2; How It Works; 3-10. Adding and Subtracting Days, Months, and Years; Problem; Solution; How It Works; 3-11. Finding the Difference Between Two Dates; Problem; Solution; How It Works; 3-12. Formatting Dates for Display
- Problem