Java program design principles, polymorphism, and patterns /: principles, polymorphism, and patterns. (2019)
- Record Type:
- Book
- Title:
- Java program design principles, polymorphism, and patterns /: principles, polymorphism, and patterns. (2019)
- Main Title:
- Java program design principles, polymorphism, and patterns
- Further Information:
- Note: Edward Sciore.
- Authors:
- Sciore, Edward
- Contents:
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Modular Software Design; Designing for Change; Object-Oriented Basics; APIs and Dependencies; Modularity; Class Diagrams; Static vs. Nonstatic; A Banking Demo; The Single Responsibility Rule; Refactoring; Unit Testing; Class Design; Encapsulation; Redistributing Responsibility; Dependency Injection; Mediation; Design Tradeoffs; The Design of Java Maps; Summary; Chapter 2: Polymorphism; The Need for Polymorphism; Interfaces; Reference Types; Type Safety; Type Casting TransparencyThe Open-Closed Rule; The Comparable Interface; Subtypes; The Java Collection Library; ArrayList; LinkedList; HashSet; TreeSet; The Liskov Substitution Principle; Should SortedSet Extend List?; Why Isn't There an Interface SortedList?; Should Queue Extend List? Should List Extend Queue?; Why Have the Interface Set if It Doesn't Provide any Added Functionality?; The Rule of Abstraction; Adding Code to an Interface; Summary; Chapter 3: Class Hierarchies; Subclasses; Abstract Classes; Writing Java Collection Classes; Byte Streams; The Template Pattern; Summary; Chapter 4: Strategies The Strategy PatternComparators; Anonymous Inner Classes; Explicit Anonymous Classes; Lambda Expressions; The Strategy Pattern as a Design Tool; The Command Pattern; Eliminating the Class Hierarchy; Templates vs. Strategies; Summary; Chapter 5: Encapsulating Object Creation; Object Caching; Singleton Classes;Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Modular Software Design; Designing for Change; Object-Oriented Basics; APIs and Dependencies; Modularity; Class Diagrams; Static vs. Nonstatic; A Banking Demo; The Single Responsibility Rule; Refactoring; Unit Testing; Class Design; Encapsulation; Redistributing Responsibility; Dependency Injection; Mediation; Design Tradeoffs; The Design of Java Maps; Summary; Chapter 2: Polymorphism; The Need for Polymorphism; Interfaces; Reference Types; Type Safety; Type Casting TransparencyThe Open-Closed Rule; The Comparable Interface; Subtypes; The Java Collection Library; ArrayList; LinkedList; HashSet; TreeSet; The Liskov Substitution Principle; Should SortedSet Extend List?; Why Isn't There an Interface SortedList?; Should Queue Extend List? Should List Extend Queue?; Why Have the Interface Set if It Doesn't Provide any Added Functionality?; The Rule of Abstraction; Adding Code to an Interface; Summary; Chapter 3: Class Hierarchies; Subclasses; Abstract Classes; Writing Java Collection Classes; Byte Streams; The Template Pattern; Summary; Chapter 4: Strategies The Strategy PatternComparators; Anonymous Inner Classes; Explicit Anonymous Classes; Lambda Expressions; The Strategy Pattern as a Design Tool; The Command Pattern; Eliminating the Class Hierarchy; Templates vs. Strategies; Summary; Chapter 5: Encapsulating Object Creation; Object Caching; Singleton Classes; Singleton Strategy Classes; Static Factory Methods; Factory Objects; Cached Factory Objects; The Factory Pattern; Factories for Customized Objects; Summary; Chapter 6: Iterables and Iteration; Iterators; Writing an Iterator Class; The Iterator Pattern; Designing Iterable Classes External IterationInternal Iteration; The Visitor Pattern; Predicates; Collection Streams; Summary; Chapter 7: Adapters; Inheritance for Reuse; Wrappers; The Adapter Pattern; Text Streams; The Adapter OutputStreamWriter; The Adapter InputStreamReader; The Adapter StringReader; Object Streams; Saving State in the Banking Demo; Adapters for the Banking Demo; Summary; Chapter 8: Decorators; Decorator Classes; The Decorator Pattern; The Chain of Command Pattern; Decorated Iterators; Implementing Collection Streams; Decorated Input Streams; Buffered Input Streams; Progress Monitoring Cipher Input StreamsDecorator Transparency; Summary; Chapter 9: Composites; Predicates as Composites; Composite Objects in JavaFX; The Composite Pattern; A Cookbook Example; Traversing a Composite Object; Summary; Chapter 10: Observers; Observers and Observables; The Observer Pattern; Push vs. pull; Managing the Observer List; The Generic Observer Pattern in Java; Events; Observers in JavaFX; JavaFX Properties; Properties as Wrappers; Properties as Observables; JavaFX Bindings; Summary; Chapter 11: Model, View, and Controller; The MVC Design Rule; Multiple Views for a Model; MVC in Excel … (more)
- Publisher Details:
- Berkeley, CA : Apress L. P
- Publication Date:
- 2019
- Extent:
- 1 online resource (465 p.)
- Subjects:
- 005.2/762
JavaScript (Computer program language)
COMPUTERS / Programming Languages / Java
JavaScript (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781484241431
1484241436 - Related ISBNs:
- 9781484241424
1484241428 - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.380813
- Ingest File:
- 02_363.xml