public final class RemoveDuplicates extends AbstractDuplicateResolver
DuplicateResolver implementation that removes all duplicates within Collection.| Constructor and Description |
|---|
RemoveDuplicates(Matcher matcher)
Constructs new
RemoveDuplicates. |
| Modifier and Type | Method and Description |
|---|---|
void |
resolve(Collection collection)
Resolves duplicates within specified
Collection. |
firstDuplicate, hasDuplicates, removeDuplicatespublic RemoveDuplicates(@NotNull Matcher matcher)
RemoveDuplicates.matcher - Matcher for duplicates detectionpublic void resolve(@NotNull Collection collection)
DuplicateResolverCollection.collection - Collection to resolve duplicates forCopyright © 2020. All rights reserved.