Skip to content

N247S/CollectionUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CollectionUtils

A Map with advanced control over entry order.

This map is not close to perfection. If you have additions/suggestions/improvements, please share them by posting them on this github!

This Map acts like an regular ArrayList type, but with the difference that it holds key and values instead of single entries. This Map is not about the best performance, but about the best control over its (duplicated) entries.

Basically this Map a ListWrapper adapting to the Maps functionality. Meaning it is not as efficient as other Map implementations might be. But it offers advanced key/value control in return. Since Keys aren't the most important object of the Map it is possible to replace keys just like values. Although this means the behavior of this Map does differ the intended behavior of the Map

This Map supports SubMaps (including tailMaps and headMaps). These SubMaps are backed up by the main ListMap, meaning they will be updated once the ListMap changes and visa versa.

Since the keys are not that important for identifying (because of the indexing), the (key/value/entry)Views of this map have more operation support as regular Views, Such as add, addAll, put, putAll Made by: N247S

About

A Map with advanced control over entry order.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages