Thiyagu's user avatar
Thiyagu's user avatar
Thiyagu's user avatar
Thiyagu
  • Member for 6 years
  • Last seen more than a week ago
  • Chennai, Tamil Nadu, India
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:

  1. Can (a==1 && a==2 && a==3) evaluate to true in Java?
  2. How does just-in-time compiler optimizes Java parallel streams? (related to above).
  3. Method reference to private interface method
  4. Why my string manipulation is slow using lambda expression?
  5. Default hashCode() implementation for Java Objects
  6. non-interference requirement on Java 8 streams (especially the comments on this answer)
  7. Should I always use a parallel stream when possible?
  8. What is more efficient: sorted stream or sorting a list?
  9. Why is Predicate<? super SomeClass> not applicable to Object?
  10. Why does array[idx++]+="a" increase idx once in Java 8 but twice in Java 9 and 10?
  11. How does a value in an entry in the WeakHashMap gets garbage collected when the actual object is garbage collected?
  12. Difference in behaviour of the ternary operator on JDK8 and JDK10
  13. Internal changes for limit and unordered stream
  14. When should streams be preferred over traditional loops for best performance? Do streams take advantage of branch-prediction?

Software Engineering:

  1. Java: Is it okay to abuse Spring beans (@Component) rather than use static final utility classes?
  2. When is it better to optimize a software for better performance, at the beginning or at the end of the development?

Awesome answers:

  1. Reversing a List via ListIterator
  2. Is it backwards-compatible to replace raw type like Collection with wildcard like Collection<?>?
  3. What is the use of inheriting object class methods in functional interface eg- toString, equals

Ah-has:

  1. Java "for" statement implementation prevents garbage collecting
Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
5
bronze badges
9
Score
2
Posts
100
Posts %
9
Score
2
Posts
100
Posts %
7
Score
1
Posts
50
Posts %
7
Score
1
Posts
50
Posts %
2
Score
1
Posts
50
Posts %
2
Score
1
Posts
50
Posts %
Top posts