Skip to content

Releases: TeamworkGuy2/JCollectionBuilders

JCollectionBuilders 0.2.2

10 Mar 01:24

Choose a tag to compare

Added

  • MapBuilder.concat(Iterable<? extends Map>) overload to existing concat(Map...)
  • Added some missing method documentation to MapBuilder
  • Added additional MapUtilTest JUnit tests

JCollectionBuilders 0.2.1

10 Mar 01:23

Choose a tag to compare

Added

  • MapBuilder.mutable(Collection, Collection) and mutable(Iterator, Iterator, Map) overloads to combine two collections into a map
  • Added some more JUnit tests

Changed

  • loosened some generic parameters (i.e. Iterable<E> -> Iterable<? extends E>)

JCollectionBuilders 0.2.0

10 Mar 01:23

Choose a tag to compare

Added

  • Added GroupBy class with groupBy() and groupByList() methods
  • Added ListAdd.copy() with AddCondition parameter to conditionally copy Iterable items to a List

Changed

  • Renamed ListAdd add*ToList() methods (such as addArrayToList()) to addToList() overloads
  • Added and updated unit tests

Removed

  • Removed ListUtil copyOfKeys() and copyOfValues() - in favor of ListAdd.copy()

JCollectionBuilders 0.1.1

10 Mar 01:23

Choose a tag to compare

Added

Moved jstreamish StreamMap class methods to this project

  • ListUtil.map(T[], int, int, Function) to map sub-arrays
  • MapUtil mapRequireUnique() and mapCheckNewKeyUniqueness() to convert a map's keys and values to a new map while ensuring uniqueness of the new keys

Changed

  • Expanded the ListUtil.map(Function<E, R>, E...) first parameter signature to Function<? super E, R>

JCollectionBuilders 0.1.0

10 Mar 01:22

Choose a tag to compare

Added

  • Extracted twg2.collections.builder package from JCollectionUtil project into this new JCollectionBuilders project