arigesher / trove-3.0.3

Patched version of the Trove library - changes the Collections semantics to match proper java.util.Map semantics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trove-3.0.3

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:

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

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

About

Patched version of the Trove library - changes the Collections semantics to match proper java.util.Map semantics

License:GNU Lesser General Public License v2.1


Languages

Language:Java 100.0%