Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Immutability in Java
Search
Piotr Kafel
March 19, 2013
Programming
0
63
Immutability in Java
Piotr Kafel
March 19, 2013
Tweet
Share
More Decks by Piotr Kafel
See All by Piotr Kafel
Reactive - land of confusion
pkafel
0
550
Apache Kafka - short introduction
pkafel
0
120
RxJava in Microservices World
pkafel
1
1.1k
Whats new in Java 8
pkafel
0
110
Other Decks in Programming
See All in Programming
Symfony Mapper Component
soyuka
2
730
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
730
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
100
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
120
useSyncExternalStoreを使いまくる
ssssota
6
1k
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
120
testcontainers のススメ
sgash708
1
120
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
return文におけるstd::moveについて
onihusube
1
1k
命名をリントする
chiroruxx
1
390
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
php-conference-japan-2024
tasuku43
0
230
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
We Have a Design System, Now What?
morganepeng
51
7.3k
Documentation Writing (for coders)
carmenintech
66
4.5k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
RailsConf 2023
tenderlove
29
940
A designer walks into a library…
pauljervisheath
204
24k
GraphQLとの向き合い方2022年版
quramy
44
13k
Agile that works and the tools we love
rasmusluckow
328
21k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Site-Speed That Sticks
csswizardry
2
190
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Transcript
Immutability in Java by Piotr Kafel (@PiotrKafel)
What does it mean that object is immutable ? Collections.unmodifiableCollection()
? Do we have some examples in JDK ?
Why should I care ?
How to ensure immutability ?
None
None
But what to do in such a case ?
"More computing sins are committed in the name of efficiency
(without necessarily achieving it) than for any other single reason — including blind stupidity." W.A. Wulf
Thank you !