EnhancedDeduplication<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
removeDuplication(
) → List< T> -
Available on Iterable<
Returns a new List with all duplicate elements removed based on their values.T> , provided by the EnhancedDeduplication extension -
removeDuplicationBy<
K> (K keyOf(T element)) → List< T> -
Available on Iterable<
Returns a new List with all duplicate elements removed, using the key returned byT> , provided by the EnhancedDeduplication extensionkeyOfto determine equality instead of the element's own==/hashCode.