Stats
17,870
reputation
1k
reached
1
answer
1
question
Loading…
About
A Software developer. I mainly come to StackOverflow to learn from others.
My previous display name as user7.
Some of my favourites (in no particular order)
Stack Overflow:
- Can (a==1 && a==2 && a==3) evaluate to true in Java?
- How does just-in-time compiler optimizes Java parallel streams? (related to above).
- Method reference to private interface method
- Why my string manipulation is slow using lambda expression?
- Default hashCode() implementation for Java Objects
- non-interference requirement on Java 8 streams (especially the comments on this answer)
- Should I always use a parallel stream when possible?
- What is more efficient: sorted stream or sorting a list?
- Why is Predicate<? super SomeClass> not applicable to Object?
- Why does array[idx++]+="a" increase idx once in Java 8 but twice in Java 9 and 10?
- How does a value in an entry in the WeakHashMap gets garbage collected when the actual object is garbage collected?
- Difference in behaviour of the ternary operator on JDK8 and JDK10
- Internal changes for limit and unordered stream
- When should streams be preferred over traditional loops for best performance? Do streams take advantage of branch-prediction?
Software Engineering:
- Java: Is it okay to abuse Spring beans (@Component) rather than use static final utility classes?
- When is it better to optimize a software for better performance, at the beginning or at the end of the development?
Awesome answers:
- Reversing a List via ListIterator
- Is it backwards-compatible to replace raw type like Collection with wildcard like Collection<?>?
- What is the use of inheriting object class methods in functional interface eg- toString, equals
Ah-has:
Badges
View all badges
This user doesn’t have any gold badges yet.
9
-
Yearling
× 9Dec 30, 2023
11
-
CustodianJun 4, 2018
-
Citizen PatrolJan 3, 2023
-
TeacherDec 23, 2015
Top tags
9
Score
2
Posts
100
Posts %
9
Score
2
Posts
100
Posts %
9
Score
1
Posts
50
Posts %
9
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
0
Score
1
Posts
50
Posts %
Top posts
Top network posts
View all network posts