Trove Changelog

What's new in Trove 3.0.3

Jul 5, 2014
  • Bugs Fixed:
  • [3445639] ArrayIndexOutOfBoundsException from TIntHashSet.retainAll
  • [3460395] no_entry_value is set always to 0 in map default constructor

New in Trove 3.0.2 (Jul 5, 2014)

  • Bug Fixed:
  • [3429703] TIntObjectHashMap losing entry
  • [3431135] ArrayIndexOutOfBoundsException at TIntIntHashMap.keys
  • [3432212] entrySet() does not unwrap in cased of no_entry_value or no_entrykey
  • [3432175] Decorator entrySet

New in Trove 3.0.1 (Jul 5, 2014)

  • Bugs Fixed:
  • fix for ClassCastException in equals(T,T) when comparing with REMOVED
  • [3408129] Benchmarks don't run correctly
  • [3394094] Args to gnu.trove.generator.Generator not basedir-relative
  • Re-introduce TLinkableAdapter class
  • New Features:
  • [3412967] Need TMap interface
  • .zip and .tgz files now expand into a sub-directory
  • Documentation for generator patterns and replicated blocks
  • Maven artifact generation now a bit more automatic

New in Trove 3.0.0 (Sep 12, 2011)

  • Major restructuring of classes and packages.
  • Interfaces have been broken out to allow for alternate implementations.
  • The package changes will require code migration, although it should mainly consist of simply updating import statements. However, because everything is in new packages, both Trove 2.x and Trove 3.x can co-exist in a classpath (to hopefully ease the migration burden).
  • Broke out classes that allow custom hashing for performance reasons.
  • New collections are:
  • TCustomHashMap
  • TCustomHashSet
  • TObject*CustomHashMap (ex: TObjectIntCustomHashMap)
  • IdentityHashingStrategy is available for identity-based hash maps.
  • Add sum() method to T*List
  • THashMap.entrySet().remove() throws on non-Entries
  • fix for null keys in Object maps
  • Benchmarks for comparing different libraries. Currently java.util, Colt, Trove 2 and Trove 3.
  • Fixes to serialVersionUID's and where Serializable is marked. For example, Serializable has been removed from the interfaces for various collections (to better match how it's done in java.util).
  • Many bug fixes, particularly to TLinkedList.

New in Trove 2.1.0 Alpha 3 (Sep 12, 2011)

  • Bugs fixed:
  • THashMap serialization bug in 2.0.4

New in Trove 2.1.0 Alpha 2 (Sep 12, 2011)

  • Bugs fixed:
  • clone() for TObjectHashMap is inefficient
  • add toString() method to maps.
  • TxxxArrayList serializes full capacity instead of full size
  • Primitive Lists hashCode is calculated w/o regard for order
  • Fixed issues related to removing items multiple times from TLinkedList and using removeFirst/Last when no items are in the list.
  • New Features
  • add putAll() to the HashMaps.

New in Trove 2.1.0 Alpha 1 (Sep 12, 2011)

  • Bugs fixed:
  • THashSet serialization
  • Decorators serialization
  • Use .valueOf on wrap/unwrap in T#K##V#HashMapDecorator
  • New Features:
  • Added "Dectorators" class for easier creation of decorator classes.
  • Improve performance by avoiding Math/StrictMath

New in Trove 2.0.5 Alpha 1 (Sep 12, 2011)

  • Bugs fixed:
  • bug in .keys([]) method
  • New Features:
  • added keys(e[]) method to P2O maps (TIntObjectHashMap, etc.)

New in Trove 2.0.4 (Sep 12, 2011)

  • Bugs fixed:
  • @return for put and putIfAbsent is incorrect

New in Trove 2.0.4 RC 1 (Sep 12, 2011)

  • Bugs Fixed:
  • Replace StringBuffer with StringBuilder
  • pufIfAbsent for maps
  • Hashing Strategy Not Retained After Serialization

New in Trove 2.0.4 Alpha 2 (Sep 12, 2011)

  • Bugs fixed:
  • Correct an error in TLinkedList that caused nodes to not be properly linked when using addAfter(T,T).

New in Trove 2.0.4 Alpha 1 (Sep 12, 2011)

  • Bugs fixed:
  • THash.ensureCapacity(...) bug

New in Trove 2.0.3 (Sep 12, 2011)

  • Bugs Fixed:
  • add toString() methods to THashSet and THashMap
  • Switched to Arrays.fill (which seems to be slightly faster) for clearing