In the previous post we went through Scala parallel collections and you saw how you can convert a sequential collection into a parallel one by using method par on that collection. In this post I want to show you how you can write your own parallel collection in Scala. The example I use for this [...]
Experimenting with Scala Parallel Collections (contd.)
October 18th, 2011 by Amir Moulavi — Java
Tags: collection, parallel, scala
Experimenting with Scala Parallel Collections
October 2nd, 2011 by Amir Moulavi — Java
In this short post, I want to show you how you can avail from Scala parallel collections in your application and under which conditions it makes sense to use it. Parallel Collections were introduced in Scala 2.9 release which are built on the same abstractions and provide the same interfaces as existing collection implementation. It [...]
Tags: collection, parallel, scala
JXPath simplifies Java queries
August 4th, 2006 by Ulrik Sandberg — Java, Testing
Consider a company that contains many departments. Those departments contain employees, those employees have names, telephone numbers, and so on. To query a collection of companies and find, for example, all departments of companies in California with more than 10 employees, you could write something like this: for (Iterator companies = database.getCompanies().iterator(); companies.hasNext();) { [...]
Tags: automated testing, collection, frameworks, open source, query, tools, xml
