Patched version of the Trove library - changes the Collections semantics to match proper java.util.Map semantics
This library has been patched by Palantir Technologies to make the following changes:
Changeset 1 (used by PG 3.12):
- Trove implements of series of decorators that wrap their custom collections and implement the [standard Java Collections interfaces}(http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html). These decorators depart from the behavior specified in the Map interface by returning 0 when put() or remove() is called with a key not in the map. This version returns null as specified by Map.
- Trove collections use a magic primitive value to mean null when wrapped by a decorator. If this magic primitive value is actually added to the collection, decorators will treat it as null, the same way they would treat a missing value. This version distinguishes between these two cases and disallows adding null to decorators.
Changeset 2 (used by PG 4.0):
- This version adds implementations of arrays, lists, sets, and maps that utilize offheap memory allocated by the sun.misc.Unsafe class.
Original source code for this library available at:
http://sourceforge.net/projects/trove4j/files/trove/3.0.3/trove-3.0.3.tar.gz/download
This release made available under the LGPL version 2.1 - see LICENSE