Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Great article for beginners introducing Java collections by explaining what they are, the collection hierarchy, and general benefits of using Java collections. You will examine each Collection interface including in depth explanations and examples for each.
#java #collections #junior
https://www.stackchief.com/blog/Java%20Collections%20In%20Depth
Wondering about the memory impact of your Java collections? To put it differently: if your Java application crashed with the infamous OutOfMemoryError or experienced long GC pauses — did you check its collections for memory waste? Here's how to think about your collections while keeping overhead in mind.
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
Dive into this article to understand the concepts behind both Fail-safe iterators and Fail-fast iterators. Follow the comprehensive examples to learn their internal working and cover tiny details considering one of the most common operations you do every day.
#java #collections #junior
https://medium.com/@mr.anmolsehgal/fail-fast-and-fail-safe-iterations-in-java-collections-11ce8ca4180e
When you work with a few thousands of items performance isn't a concern. But, in some extreme situations, when we have to travel over a few millions of items several times, performance will become a pain. In this article on dealing with collections in Java you will learn more about the forEach loop and how it compares to C style and Stream API.
#java #collections #junior #middle
https://dzone.com/articles/iteration-over-java-collections-with-high-performa
The Java concurrent API and the streaming API are very interesting and powerful tools that we all using Java should learn how to use in a responsible way so we can deliver better and more performant applications. It might take some time to get used to these new concepts, especially when starting working with them, but it is just a matter of practice and good engineering techniques until we are experts on these areas.
#java #collections #junior #middle
https://hackernoon.com/collect-or-not-collect-your-java-stream-733821507ce
Eclipse Collections is a high performance collections framework for Java, adding rich functionality to the native JDK Collections.
These articles present TOP 10 reasons to use them and several examples of refactoring standard Java code to Eclipse Collections data structures and APIs.
Let’s see some of the memory savings you can achieve.
#java #collections #eclipse #middle
https://medium.com/oracledevs/ten-reasons-to-use-eclipse-collections-91593104af9d
https://www.infoq.com/articles/Refactoring-to-Eclipse-Collections