unique_list library
Classes
-
UniqueList<
E> - An implementation of List that enforces all values be unique.
Extensions
-
ToUniqueList
on Iterable<
E> - Adds a method to Iterable to create a UniqueList containing the elements of this iterable.
Exceptions / Errors
- DuplicateValueError
- An error thrown when a value is added to a strict UniqueList that already exists in the list.
- DuplicateValuesError
- An error thrown when constructing a strict UniqueList from a list that contains multiple instances of the same value.