Data Sources and Collections 🔍
Josh Juneau; Luciano Manelli Apress : Imprint: Apress, Java 17 Recipes, 2022
英语 [en] · PDF · 0.3MB · 2022 · 🤨 其他 · nexusstc · Save
描述
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.
## 7-1. Defining a Fixed Set of Related Constants Problem
You need a type that can represent a fixed set of related constants.
## Solution
Use an enum type. The following example defines an enum type, called FieldType, to represent various form fields you might find on the GUI of an application.
备选标题
Java 17 Recipes : A Problem-Solution Approach
备选作者
Juneau, Josh, Manelli, Luciano
备选作者
JOSH MANELLI, LUCIANO JUNEAU
备用出版商
Apress, Incorporated
备用出版商
Springer Nature
备用出版商
Apress L. P.
备用版本
Springer Nature, [New York, N.Y.], 2022
备用版本
United States, United States of America
备用版本
Fourth edition, New York, N.Y, 2022
备用版本
4th ed. 2022, Berkeley, CA, 2022
备用版本
4th edition, Berkeley, CA, 2022
备用版本
4th ed., US, 2022
备用版本
4, 20220224
备用版本
S.l, 2022
元数据中的注释
{"container_title":"Java 17 Recipes","first_page":239,"last_page":291,"parent_isbns":["148427962X","1484279638","9781484279625","9781484279632"],"publisher":"Apress"}
备用描述
Quickly find solutions to dozens of common programming problems encountered while building Java applications, with recipes presented in the popular problem-solution format. Look up the programming problem that you want to resolve. Read the solution. Apply the solution directly in your own code. Problem solved! Java 17 Recipes is updated to reflect changes in specification and implementation since the Java 9 edition of this book. Java 17 is the next long-term support release (LTS) of the core Java Standard Edition (SE) version 17 which also includes some of the features from previous short term support (STS) releases of Java 16 and previous versions. This new edition covers of some of the newest features, APIs, and more such as pattern matching for switch, Restore Always-Strict-Floating-Point-Semantics, enhanced pseudo-random number generators, the vector API, sealed classes, and enhancements in the use of String. Source code for all recipes is available in a dedicated GitHub repository. This must-have reference belongs in your library. What You Will Learn 1) Look up solutions to everyday problems involving Java SE 17 LTS and other recent releases, 2) Develop Java SE applications using the latest in Java SE technology, 3) Incorporate Java major features introduced in versions 17, 16, and 15 into your code. Who this book is for are programmers and developers with some prior Java experience
备用描述
Keine Beschreibung vorhanden.
Erscheinungsdatum: 25.02.2022
更多信息……
We strongly recommend that you support the author by buying or donating on their personal website, or borrowing in your local library.
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
  • 对于大文件,我们建议使用下载管理器以防止中断。
    推荐的下载管理器:JDownloader
  • 您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
    推荐的电子书阅读器:Anna的档案在线查看器ReadEraCalibre
  • 使用在线工具进行格式转换。
    推荐的转换工具:CloudConvertPrintFriendly
  • 您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
    推荐的工具:亚马逊的“发送到 Kindle”djazz 的“发送到 Kobo/Kindle”
  • 支持作者和图书馆
    ✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
    📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。