I've been fascinated with software development since I got my first C64 thirty years ago. And I still like the I emerging possibilities the technology offers us every day. I work as developer and software architect in internal and customer projects focusing on Java and Oracle. Thomas has posted 9 posts at DZone. You can read more from them at their website. View Full User Profile

Brownies-Collections 0.9.7

  • submit to reddit

The new release of Brownies-Collections fixes a bug which made GapList return invalid data in some cases. It is therefore recommended to upgrade to release 0.9.7. Grab it from Maven central (org.magicwerk:brownies-collections:0.9.7) or download it directly from the web site.

Brownies Collections complements the Java Collections Framework:

  • The class GapList combines the strengths of both ArrayList and LinkedList. It is implemented to offer both efficient random access to elements by index and at the same time efficient adding and removing elements to and from beginning and end (as LinkedList does).
  • Additionally there are implementations of GapList for primitive data types. As the storage is realized using arrays of primitives, memory is saved and execution speed increased.
  • To increase developer productivity, keys and constraints have been added to collections in an orthogonal and declarative way. These features offered by classes implementing the Collection (classes KeyCollection, Key1Collection, Key2Collection) and the List interface (classes KeyList, Key1List, Key2List).

Published at DZone with permission of its author, Thomas Mauch.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)