237
6-11. Summary
Lambda expressions brought new life to the Java language
with their introduction in
Java 8, providing capabilities unavailable to Java developers in the past. Developers of
desktop, mobile, and enterprise applications alike can now take advantage of the lambda
expression to create more robust and sophisticated solutions.
Lambda expressions
are a revolutionary change to the language, and they have a significant impact on
development across the platform.
ChapTer 6 LaMbda expressIons
239
© Josh Juneau, Luciano Manelli 2022
J. Juneau and L. Manelli,
Java 17 Recipes,
https://doi.org/10.1007/978-1-4842-7963-2_7
CHAPTER 7
Data Sources and
Collections
Applications use data structures to store data that can be utilized
throughout the lifetime
of an application instance. The Java language contains several data structures known
as collection types, and they can be utilized for this purpose.
These data structures
implement the java.util.Collection
interface, which provides a variety of
methods that are useful for adding, removing, and performing tasks against the data that
is used with the collection. This chapter introduces some of the data structures that can
be utilized within a Java application for the storage of user data. It discusses some of the
data structures in detail and introduces operations performed on the data. The concepts
of pipelines and streams are introduced in this chapter, and it provides recipes that
demonstrate their usage.
Do'stlaringiz bilan baham: