SpiceQA
Questions
Tags
Users
Badges
effective-java
10 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Effective in Java Item 89: For instance control, prefer enum types to readResolve - Why can the stealer change the field of the original instance?
user_7325581
0
•
asked Jun 11, 2022
1
1
63
effective-java
serialization
java
It''s never a good idea for a public class to expose fields directly, but why it is less harmful if the fields are immutable?
user_12234753
0
•
asked Oct 25, 2020
2
3
142
effective-java
software-design
encapsulation
oop
java
Why did Joshua Bloch use 2*size + 1 for resizing the stack in Effective Java?
user_503510
0
•
asked Oct 16, 2020
12
2
364
effective-java
java
Effective Java Item 44 - Where is the `DoubleToObjFunction` in the standard library?
user_5821101
0
•
asked Jul 7, 2020
2
1
140
functional-interface
effective-java
java
Java reserved type name "var" best practices?
user_7968673
0
•
asked Oct 1, 2019
4
0
450
effective-java
java-10
var
java
How does casting this object to a generic type work?
user_7968673
0
•
asked Nov 16, 2018
13
4
2014
effective-java
casting
generics
java
Effective Java item 16 (2nd edition) - Is Forwarding class only used to allow re-use?
user_5483731
0
•
asked Sep 15, 2018
5
2
669
effective-java
oop
java
Is terminating an object is the same as nulling it?
user_6299575
0
•
asked Jun 5, 2017
4
2
122
effective-java
oop
java
Understanding the concept behind Service provider framework like JDBC using the factory method
user_1527084
0
•
asked Aug 6, 2012
32
2
7012
service-provider
effective-java
jdbc
java
What does it mean to say that int enum patterns are compile-time constants?
user_1527084
0
•
asked Aug 2, 2012
14
2
1252
effective-java
compile-time-constant
enums
java
1
(current)
Hot Questions