Skip to content

Instantly share code, notes, and snippets.

View upg3iNe4b3iS's full-sized avatar
🐇

upg3iNe4b3iS upg3iNe4b3iS

🐇
View GitHub Profile
@upg3iNe4b3iS
upg3iNe4b3iS / opacity.txt
Created December 9, 2025 14:09 — forked from alvinthen/opacity.txt
Convert opacity values in percentage to hexadecimal
0% - 00
1% - 03
2% - 05
3% - 08
4% - 0A
5% - 0D
6% - 0F
7% - 12
8% - 14
9% - 17
## Effective Java, 2nd Edition
by Joshua Bloch
*I, [Michael Parker](http://omgitsmgp.com/), own this book and took these notes to further my own learning. If you enjoy these notes, please [purchase the book](http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683)!*
### Chapter 2: Creating and Destroying Objects
#### Item 1: Consider static factories instead of constructors
* An instance-controlled class is one that uses static factories to strictly control what instances exist at any time.