BeanMap

A set of extremely useful map types
Download

BeanMap Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Publisher Name:
  • Payonel
  • Operating Systems:
  • Windows All
  • File Size:
  • 8 KB

BeanMap Tags


BeanMap Description

The BeanMap package includes a set of extremely useful map types, one of which can be a seemless replacement for the barely featureful System.Collections.Generic.Dictionary. It's developed in C# with .NET 3.5. The .NET Dictionary is a single key to value map which provides just the most basic of functions including get, set, Remove, and ContainsKey. BeanMap provides many of same Dictionary functions to simplify refactoring your project to swap in BeanMap in place of Dictionary. However, BeanMap adds new awesomely helpful functions. One of my favorite BeanMap functions is DefaultGeneration which allows the programmer to specify how a new key and value are created at runtime when a key is requested that doesn't exist. It can be enormously helpful. All new features are not used by default, in fact, BeanMap maps will behave identically to a Dictionary by default. Additionally, BeanMap adds new map templates. Sure it has the simple single key single value map, Map. But there are some new types. It adds a two key and a three key map, Map and Map respectively. Additionally, if you find that your needs are beyond a 1, 2, and 3 key map, there is a generic map class provided that allows n keys to one value mapping, simply called Map.


BeanMap Related Software