added license
Some miscellaneous utilities and additions to collections.
Adds stringWithKey, intWithKey, doubleWithKey as dictionary subscripts. They do their best to coerce the dictionary value to the correct type.
stringWithKey
intWithKey
doubleWithKey
Adds some convenience methods which call on to merge(other, uniquingKeysWith: to either replace or keep all duplicate keys.
merge(other, uniquingKeysWith:
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
CollectionExtensions
Some miscellaneous utilities and additions to collections.
Dictionary+Coercion
Adds
stringWithKey,intWithKey,doubleWithKeyas dictionary subscripts. They do their best to coerce the dictionary value to the correct type.Dictionary+Merging
Adds some convenience methods which call on to
merge(other, uniquingKeysWith:to either replace or keep all duplicate keys.