Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apache_collections [2012/10/23 03:13]
admin
apache_collections [2018/06/13 12:07]
root
Line 1: Line 1:
 Back to [[Home]] or [[Java]] Back to [[Home]] or [[Java]]
  
 +Apache [[http://​commons.apache.org/​collections/​apidocs/​org/​apache/​commons/​collections/​CollectionUtils.html | Collections Utils]] an alternative is Google'​s Collections [[https://​code.google.com/​p/​guava-libraries/​ | Guava]]
 +
 +Some useful features
 * isEmpty(java.util.Collection coll)  Null-safe check if the specified collection is empty. * isEmpty(java.util.Collection coll)  Null-safe check if the specified collection is empty.
 +
 +
 +== Alternative Guava == 
 +
 +Batching iterator ​
 +<code java>
 +Iterators.partition(stream.iterator(),​ batchSize).forEachRemaining(this::​process);​
 +</​code>​
 
apache_collections.txt · Last modified: 2018/06/13 12:07 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd