Effective Java


participate in this project



Download 2,19 Mb.
Pdf ko'rish
bet13/341
Sana11.07.2022
Hajmi2,19 Mb.
#776765
1   ...   9   10   11   12   13   14   15   16   ...   341
Bog'liq
Effective Java


participate in this project.
Finally, I thank my wife, Cindy Bloch, for encouraging and occasionally
threatening me to write this book, for reading each item in its raw form, for help-
ing me with Framemaker, for writing the index, and for putting up with me while I
wrote.


1
C H A P T E R
1
Introduction
T
HIS
book is designed to help you make effective use of the Java programming
language and its fundamental libraries: 
java.lang

java.util
, and 
java.io
, and
subpackages such as 
java.util.concurrent
and 
java.util.function
. Other
libraries are discussed from time to time.
This book consists of ninety items, each of which conveys one rule. The rules
capture practices generally held to be beneficial by the best and most experienced
programmers. The items are loosely grouped into eleven chapters, each covering
one broad aspect of software design. The book is not intended to be read from
cover to cover: each item stands on its own, more or less. The items are heavily
cross-referenced so you can easily plot your own course through the book.
Many new features were added to the platform since the last edition of this
book was published. Most of the items in this book use these features in some
way. This table shows you where to go for primary coverage of key features:
Feature
Items
Release
Lambdas
Items 42–44
Java 8
Streams
Items 45–48
Java 8
Optionals
Item 55
Java 8
Default methods in interfaces
Item 21
Java 8
try
-with-resources
Item 9
Java 7
@SafeVarargs
Item 32
Java 7
Modules
Item 15
Java 9


CHAPTER 1
INTRODUCTION
2
Most items are illustrated with program examples. A key feature of this book
is that it contains code examples illustrating many design patterns and idioms.
Where appropriate, they are cross-referenced to the standard reference work in
this area [Gamma95].
Many items contain one or more program examples illustrating some practice
to be avoided. Such examples, sometimes known as 
antipatterns,
are clearly
labeled with a comment such as 

Download 2,19 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   341




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish