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
61
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
110
RxJava in Microservices World
pkafel
1
960
Whats new in Java 8
pkafel
0
95
Other Decks in Programming
See All in Programming
PHPでOfficeファイルを取り扱う! PHP Officeライブラリを プロダクトに組み込んだ話
hirobe1999
0
840
Some Quick Ideas To Improve Your Tests ( #jassttokyo )
teyamagu
PRO
2
2.3k
Enhancing Applications with Accessibility API
kishikawakatsumi
3
910
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
document.write再考
brn
5
2.5k
object-oriented-conference-2024
fuwasegu
6
1.9k
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
2
520
Compiling Python to WebAssembly with py2wasm
syrusakbary
0
130
オブジェクト指向コードレビューの新しいアプローチ
akkie76
3
1.5k
Deno に Web 標準 API を実装する / Implementing Web Standard API to Deno
petamoriken
0
350
Material 3で Material 2ぽい見た目にする
numeroanddev
2
250
AppDeveloperCon 2024 EU: Building polyglot developer experiences in 2024
salaboy
0
380
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
71
5.1k
Statistics for Hackers
jakevdp
789
220k
Principles of Awesome APIs and How to Build Them.
keavy
119
16k
Teambox: Starting and Learning
jrom
126
8.4k
Side Projects
sachag
451
41k
Fireside Chat
paigeccino
19
2.6k
Being A Developer After 40
akosma
56
580k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
319
20k
Become a Pro
speakerdeck
PRO
8
4.4k
Docker and Python
trallard
33
2.6k
Typedesign – Prime Four
hannesfritz
36
2k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
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 !