Over a million developers have joined DZone.

Brownies-Collections 0.9.7

DZone's Guide to

Brownies-Collections 0.9.7

· ·
Free Resource

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).


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}