Let’s take a look at the top Java stories of June: the “git wars”, to the Nashorn JavaScript Engine’s demise & the grand release of Eclipse Photon!
Category: Articles
Java Sort on Multiple Fields – Comparator.thenComparing() – HowToDoInJava
Java example to sort list of objects by multiple fields using Comparator.thenComparing() method. This method returns a lexicographic-order comparator with another comparator. It gives the same effect as SQL group by clause. Quick Reference: Group by multiple fields – Example Example of using thenComparing() to create Comparator which is capable of sorting by multiple fields. …
Java Sort String Characters Alphabetically – HowToDoInJava
Java example to sort characters of String in alphabetical order – using Stream.sorted() and Arrays.sort() methods. 1) Sort string with Stream API Example of sorting the characters of string using Stream.sorted() API. 2) Arrays.sort() Example of sort a string using Arrays.sort() method. Drop me your questions in comments section. Happy Learning !! Reference: Stream.sorted() Java …
Java Sort Collection – Collections.sort() – HowToDoInJava
Learn to use Collections.sort() method to sort collections in java with examples. By default, this method sorts the unsorted list into ascending order, according to the natural ordering of its elements. 1) Collections.sort( list ) It sorts the specified list into ascending order or their natural order. All elements in the list must implement the …
Java Sort ArrayList of Objects – HowToDoInJava
Java examples to sort list of objects or primitives (e.g. int, long) using List.sort(), Collections.sort() and sorting with Java stream API. Examples of sorting in natural and reverse order as well. 1) Sort list of objects Examples to sort an arraylist of objects using different sorting techniques. 2) Sort list of primitives Examples to sort …
Java Stream Collectors – eProgrammerz
Collectors is class an implementations of Collector that implement various useful reduction operations, such as accumulating elements into collections, summarizing elements according to various criteria, etc.
Thoughts on Java Report January 2018: Let’s make 2018 even better
2017 was an amazing year and 2018 will even be better. Here are some of the post and videos from the end of last year and my plans for 2018.
Java 11 API changes
Java11 API Changes JDK11 features are frozen since it was in the Rampdown phase last month. Big chan..
Memory Optimization of Java Collectors.toMap
Join Stack Overflow to learn, share knowledge, and build your career. Google Facebook Home Public 6 I have a function that convert….
Grazing & Livestock Management Software – Maia Technology
MaiaGrazing is an easy to use, online grazing management tool that helps farmers maximise their pastures and profits in the good t….
Java Array Sort – Arrays.sort() Example – HowToDoInJava
Java example to sort an array of primitives and objects which implement Comparable interface. Quick Reference: 1) Sort array of primitives Use Arrays.sort() method to sort an array of primitives such as int, long or String values. 1.1) Sort array in reverse order Use Arrays.sort(arr,Collections.reverseOrder()) to sort an array in reverse oder. 2) Sort array …
Java Annotated Monthly: July 2018 – DZone Java
In this post, learn more about the latest happenings in Java in this post about future releases, events, conferences, articles, and more!
Updates for Java SE Platform
This blog is the source for news about major Java announcements and the Java community.
Java health check-up: Has popularity waned? – JAXenter
The six-month Java release cycle has gained a lot of critics and caused some controversy. Will it affect the popularity of Java though?
Java Magazine, Mar/Apr 2018
View the digital edition of Java Magazine: Mar/Apr 2018 Twitter.