Java 8 In Action

Author: Raoul-Gabriel Urma
Publisher: Manning Publications; 1 edition (August 28, 2014)
ISBN: 1617291994
Size: 32.31 MB
Format: PDF, Docs
View: 2150
Every new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API. This book is written for programmers familiar with Java and basic OO programming. What's Inside How to use Java 8's powerful new featuresWriting effective multicore-ready applicationsRefactoring, testing, and debuggingAdopting functional-style programmingQuizzes and quick-check questions About the Authors Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation. Table of Contents PART 1 FUNDAMENTALSJava 8: why should you care?Passing code with behavior parameterizationLambda expressionsPART 2 FUNCTIONAL-STYLE DATA PROCESSINGIntroducing streamsWorking with streamsCollecting data with streamsParallel data processing and performancePART 3 EFFECTIVE JAVA 8 PROGRAMMINGRefactoring, testing, and debuggingDefault methods Using Optional as a better alternative to null CompletableFuture: composable asynchronousprogrammingNew Date and Time APIPART 4 BEYOND JAVA 8Thinking functionallyFunctional programming techniquesBlending OOP and FP: comparing Java 8 and Scala Conclusions and where next for JavaAPPENDIXESMiscellaneous language updatesMiscellaneous library updatesPerforming multiple operations in parallelon a streamLambdas and JVM bytecode

Modern Java In Action

Author: Raoul-Gabriel Urma
Publisher: Pearson Professional
ISBN: 9781617293566
Size: 15.99 MB
Format: PDF, Mobi
View: 1323
"Modern applications take advantage of innovative designs, including microservices, reactive architectures, and streaming data. Modern Java features like lambdas, streams, and the long-awaited Java Module System make implementing these designs significantly easier. It's time to upgrade your skills and meet these challenges head on! Modern Java in action connects new features of the Java language with their practical applications. Using crystal-clear examples and careful attention to detail, this book respects your time. It will help you expand your existing knowledge of core Java as you master modern additions like the Streams API and the Java Module System, explore new approaches to concurrency, and learn how functional concepts can help you write code that's easier to read and maintain."--Page 4 de la couverture.

Real World Software Development

Author: Raoul-Gabriel Urma
Publisher: "O'Reilly Media, Inc."
ISBN: 1491967129
Size: 16.63 MB
Format: PDF, ePub
View: 1753
Explore the latest Java-based software development techniques and methodologies through the project-based approach in this practical guide. Unlike books that use abstract examples and lots of theory, Real-World Software Development shows you how to develop several relevant projects while learning best practices along the way. With this engaging approach, junior developers capable of writing basic Java code will learn about state-of-the-art software development practices for building modern, robust and maintainable Java software. You’ll work with many different software development topics that are often excluded from software develop how-to references. Featuring real-world examples, this book teaches you techniques and methodologies for functional programming, automated testing, security, architecture, and distributed systems.

Introduction To Software Design With Java

Author: Martin P. Robillard
Publisher: Springer
ISBN: 3030240940
Size: 71.28 MB
Format: PDF, ePub, Mobi
View: 5275
This textbook provides an in-depth introduction to software design, with a focus on object-oriented design, and using the Java programming language. Its goal is to help readers learn software design by discovering the experience of the design process. To this end, a narrative is used that introduces each element of design know-how in context, and explores alternative solutions in that context. The narrative is supported by hundreds of code fragments and design diagrams. The first chapter is a general introduction to software design. The subsequent chapters cover design concepts and techniques, which are presented as a continuous narrative anchored in specific design problems. The design concepts and techniques covered include effective use of types and interfaces, encapsulation, composition, inheritance, design patterns, unit testing, and many more. A major emphasis is placed on coding and experimentation as a necessary complement to reading the text. To support this aspect of the learning process, a companion website with practice problems is provided, and three sample applications that capture numerous design decisions are included. Guidance on these sample applications is provided in a section called “Code Exploration” at the end of each chapter. Although the Java language is used as a means of conveying design-related ideas, the book’s main goal is to address concepts and techniques that are applicable in a host of technologies. This book is intended for readers who have a minimum of programming experience and want to move from writing small programs and scripts to tackling the development of larger systems. This audience naturally includes students in university-level computer science and software engineering programs. As the prerequisites to specific computing concepts are kept to a minimum, the content is also accessible to programmers without a primary training in computing. In a similar vein, understanding the code fragments requires only a minimal grasp of the language, such as would be taught in an introductory programming course.

Trends In Spatial Analysis And Modelling

Author: Martin Behnisch
Publisher: Springer
ISBN: 3319525220
Size: 72.59 MB
Format: PDF, Docs
View: 2443
This book is a collection of original research papers that focus on recent developments in Spatial Analysis and Modelling with direct relevance to settlements and infrastructure. Topics include new types of data (such as simulation data), applications of methods to support decision-making, and investigations of human-environment data in order to recognize significance for structures, functions and processes of attributes. Research incorporated ranges from theoretical through methodological to applied work. It is subdivided into four main parts: the first focusing on the research of settlements and infrastructure, the second studies aspects of Geographic Data Mining, the third presents contributions in the field of Spatial Modelling, System Dynamics and Geosimulation, and the fourth part is dedicated to Multi-Scale Representation and Analysis. The book is valuable to those with a scholarly interest in spatial sciences, urban and spatial planning, as well as anyone interested in spatial analysis and the planning of human settlements and infrastructure. Most of the selected papers were originally presented at the “International Land Use Symposium (ILUS 2015): Trends in Spatial Analysis and Modelling of Settlements and Infrastructure” November 11-13 2015, in Dresden, Germany.

Java Cookbook

Author: Ian F. Darwin
Publisher: O'Reilly Media
ISBN: 1492072559
Size: 42.99 MB
Format: PDF, Docs
View: 3149
Java continues to grow and evolve, and this cookbook continues to evolve in tandem. With this guide, you’ll get up to speed right away with hundreds of hands-on recipes across a broad range of Java topics. You’ll learn useful techniques for everything from string handling and functional programming to network communication. Each recipe includes self-contained code solutions that you can freely use, along with a discussion of how and why they work. If you’re familiar with Java basics, this cookbook will bolster your knowledge of the language and its many recent changes, including how to apply them in your day-to-day development. This updated edition covers changes through Java 12 and parts of 13 and 14. Recipes include: Blade, Laravel's powerful custom templating tool Methods for compiling, running, and debugging Packaging Java classes and building applications Manipulating, comparing, and rearranging text Regular expressions for string and pattern matching Handling numbers, dates, and times Structuring data with collections, arrays, and other types Object-oriented and functional programming techniques Input/output, directory, and filesystem operations Network programming on both client and server Processing JSON for data interchange Multithreading and concurrency Using Java in big data applications Interfacing Java with other languages