• An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
Home Company happy-collections 1.0 is online
happy-collections 1.0 is online
( 1 Vote )

org.happy.collections

The org.happy.collections extends JDK java.collections, but also very well known collections from Google and Appache. org.happy.collections is a set of decorators, which can be used for decorating existing Classes which implements the JDK-interfaces java.util.List, java.util.Collection, java.util.Set, java.util.Map. 

 

Features:

  • Eventbased - if a collection is changed, the defined event will be fired
  • Unmodifieable - you can decorate the collection, list, set, map by allowing for example only add new elements but nor removing any existing
  • SortedList - the decorator which decorates java.util.List to be sorted. Thus the list stays always sorted. There are two strategies implemented: (1) Linked and (2) Divide and Conquer. The Sorted List can increase the performance of the List dramatically (more than 20 times), see example section!
  • Cache - this Decorator caches the often used elements and improves this way the performance of Collection.contains() method.

Lizenz: Apache License Version 2.0

Read more...

 

Spam and advertisment are forbiden!