Filter nima boyicha filterlashni beramiz va u filter lab berad


Download 13.36 Kb.
Sana15.02.2023
Hajmi13.36 Kb.
#1199029
Bog'liq
Документ Microsoft Word1


1 Stack memory – LIFO asosida yaratilgan hotira maydoni, u ozini Ichida methodlarni ketma ketligini va reference larni saqlidi
2 Immutable class la “ozgarmas” class lar mutable naoborot, barcha wrapper classlar Immutable , masalan StringBuilder,StringBuffer,Date lar mutable
3 Abstraction – bu malumotlarni berkitish va faqat glavni malumotlarni korsatish processi
4 ArrayList joyi tolsa 50 % joyini oshiradi, Vector esa 100%, vector javani boshidan bor, shuning uchun u eski hisoblanadi,arraylist jdk 1.2 da qoshilgani uchun engi hisoblandi.’
5 Break – loop larda va swich da ishlidid oz nomi blan toxtatadi,continue faqat loop da ishlidi, va code continue ga tushsa undan keyingi code ga otmasdan loop ni boshiga otadi,
6 Stream bu collection mas va obyekt ham mas, u collectionlarni ozgartirmasdan obektga otgazadi.
Va stream da 3 metodi bor(map,filter,sorted) map- uni ichida hohlagan codimizni yozsak boladi.
Filter – nima boyicha filterlashni beramiz va u filter lab berad.
Sorted – sort qbberadi.
7 S.O.L.I.D – srazu manosini yozib kettim:
S – har bir class ning ozini vazifasi bolish kere.
O – opredelenniy modul kengaytirish uchun ochiq bolish kere, lekn qisqartirish ucun yopiq.
L – classga ozgina ulangan class bosa uni osha classga qoshib yuborish kere
I – Interfeys ni kichkina interfeyslarga bolish kere chunki client interfeys degi hamma methodini ishlatkisi kemashi mumkin
D- buni chunmadm.
Download 13.36 Kb.

Do'stlaringiz bilan baham:




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