Skip to content

TeamworkGuy2/JCollectionBuilders

Repository files navigation

JCollectionBuilders

version: 0.2.2

Build, filter, and map methods for lists, collections, maps, iterators, and streams.

  • ListAdd - add items to a collection with strict constraints on what can be added (duplicate values allowed or not, null allowed or not, etc.)
  • ListDiff - compare 2 lists and return symmetric difference or an exact list of elements each list contains that the other does not
  • Helper methods throughout the ListUtil, MapUtil, ListBuilder, and MapBuilder classes such as isUnique(List) and tryInvert(Map)

Take a look at the twg2.collections.builder.tests package for examples of how the APIs can be used.

About

Java collection helpers for creating, filtering, and mapping lists, collections, maps, iterators, and streams

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages