Bu blogdaki popüler yayınlar
İNGİLİS DİLİNDƏ ƏN ÇOX İSTİFADƏ OLUNAN 2600 CÜMLƏ QƏLİBLƏRİ VƏ 6000 SÖZ
Aşağıdakı videoda ingilis dilndə ən çox istifadə olunan 2600 cümlə şablonları var Cengiz Hoca en cox istfde olunan 2600 sablon cumle Aşağdakl siyahıda isə ingilis dilində ən çoxdan ən aza istfadə olunan 6000 sözün statistikasıdır 1 the 2 of 3 and 5 a 5 to 6 in 8 is 9 be 9 that 9 was 10 he 11 for 11 it 14 with 15 as 15 his 17 I 17 on 18 have 19 at 20 by 20 not 21 they 21 this 22 had 24 are 25 but 26 from 27 or 28 she 29 an 30 which 30 you 31 one 32 we 34 all 34 were 35 her 35 would 36 there 40 their .... .... ....
JAVA 8 LAMBDA Expressions AND Stream API - EXAMPLES
JAVA LAMBDA nədir? Necə istifadə olunur? Examples : https://dzone.com/articles/java-stream-api Simple sintax: a -> a.canHop() (Animal a) -> { return a.canHop(); } // blok iceriinde yazilanda return ve noqeteli vergul de olmalidi (a, b) -> { int a = 0; return 5;} // DOES NOT COMPILE // Cunki declare olunmus deyiskeni yeniden tanimlamaga qoymur A boolean expression : (List<String> list) -> list.isEmpty() Creating objects : () -> new Apple(10) Consuming from an object : (Apple a) -> { System.out.println(a.getWeight()); } Select/extract from an object : (String s) -> s.length() Combine two values : (int a, int b) -> a * b Compare two objects : (Apple a1, Apple a2) -> a1.getWeight().compareTo(a2.getWeight()) List<Apple> greenApples = filter(inventory, (Apple a) -> "green".equals(a.getColor()) ); //In the code shown here, you can pass a
Yorumlar
Yorum Gönder