排序
Java Map keys should always be Comparable
Java Map keys should always be Comparable,This article is inspired by the discovery years ago that an attacker could manipulate query parameters to turn the map data structure in m...
Java 10 features – What is new in Java 10?
Java 10 features - What is new in Java 10?,Post Link : https://www.skptricks.com/2018/08/Java-10-features.html While we all are talking about Java 9 and some people have yet to ado...
Shuffling algorithms and randomization to improve algorithm‘s runtime.
Shuffling algorithms and randomization to improve algorithm‘s runtime.,Shuffling card is an essential part of every card game. There are many techniques for shuffling cards but ov...
To Queue or not to Queue?
To Queue or not to Queue?, That should not be a question Waiting In Line To See Star Wars: 1977–2000 No one likes to stand in line¹. Most people hate to waste their time queuing ...
Dual Pivot Quick Sort: Java’s default sorting algorithm for primitive data types.
Dual Pivot Quick Sort: Java’s default sorting algorithm for primitive data types.,What happens when we do Arrays.sort() in Java? which sorting algorithm does Java use in the backg...
Final classes in Java
Final classes in Java,There have been some discussions about the final keyword applied to classes in Java. To put it simple: when a class is declared final, you can't create a sub ...
The joy of streams
The joy of streams,Recently, I have written a class that looked roughly like this: public class Requirement { ... public Requirement(...) { ... } public When getWhen() { ... } publ...
Don’t Drink Too Much Reactive Cool Aid
Don't Drink Too Much Reactive Cool Aid,Cross-posting of my blog article. In the last years, the idea of 'reactive server applications' was being promoted heavily, especially by new...
Couple of words about development of a new static analyzer for Java code
Couple of words about development of a new static analyzer for Java code, PVS-Studio static analyzer team, which until recently was searching for bugs and potential vulnerabilities...
JVM Primer Part 2 – Debugging memory issues
JVM Primer Part 2 - Debugging memory issues, JVM-Troubleshooting (2 Part Series) 1 A Primer on JVM Memory Management and Troubleshooting - 1 2 JVM Primer Part 2 - Debugging memory ...
A Primer on JVM Memory Management and Troubleshooting – 1
A Primer on JVM Memory Management and Troubleshooting - 1, JVM-Troubleshooting (2 Part Series) 1 A Primer on JVM Memory Management and Troubleshooting - 1 2 JVM Primer Part 2 - Deb...
Implementing in-app language change
Implementing in-app language change,Android resolves language- and culture-specific resources based on the system locale setting. This is a desired behavior that makes perfect sens...