Java Initialize Set with Values in One Line

  Рет қаралды 210

Code Java

Code Java

4 ай бұрын

In this Java Collections framework video, I'd love to share with you guys, about how to create and initialize a Set collection with some default values in just a single line. It will make your code shorter, more succinct and nicer.
I will also explain why the returned Set is immutable and how to create a modifiable one.

Пікірлер: 2
@brazo98
@brazo98 4 ай бұрын
Nice Nice Nam. I wish you a nice weekend. 🖖🖖🖖
@CodeJava
@CodeJava 4 ай бұрын
Thanks, you too!
Understand HTTP Basic Authentication - How it works
8:38
Code Java
Рет қаралды 228
Spring @Scheduled Annotation Examples
11:03
Code Java
Рет қаралды 141
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 31 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 40 МЛН
How to Implement Scheduled Tasks in Spring
20:31
Code Java
Рет қаралды 288
Test HTTP Basic authentication using curl in command line
4:13
Insert, Select, Delete and  Update from database in java
41:25
Khadem tech
Рет қаралды 53 М.
Download and Install OpenJDK 22 on macOS
10:38
Code Java
Рет қаралды 758
Spring @EnableWebSecurity Annotation Explained
12:29
Code Java
Рет қаралды 178
Setup Oracle JDK 22 on macOS Step by Step
9:40
Code Java
Рет қаралды 358
Spring Security - Code Tests for HTTP Basic Authentication
18:32
How to Test HTTP Basic Authentication using Postman
2:58
Code Java
Рет қаралды 164
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 7 МЛН
Самые крутые школьные гаджеты
0:49
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 409 М.
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,2 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 446 М.