Fix DuplicateRemovalFunction javadocs

This commit is contained in:
Luck 2019-02-19 14:09:26 +00:00
parent 4ef3d50965
commit beeb4fa169
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -66,7 +66,7 @@ public interface DuplicateRemovalFunction {
};
/**
* A {@link DuplicateRemovalFunction} that retains only the first duplicate.
* A {@link DuplicateRemovalFunction} that retains only the first occurrence.
*/
DuplicateRemovalFunction FIRST_ONLY = new DuplicateRemovalFunction() {
@SuppressWarnings("Java8CollectionRemoveIf")
@ -88,7 +88,7 @@ public interface DuplicateRemovalFunction {
};
/**
* A {@link DuplicateRemovalFunction} that retains only the first duplicate.
* A {@link DuplicateRemovalFunction} that retains only the last occurrence.
*/
DuplicateRemovalFunction LAST_ONLY = new DuplicateRemovalFunction() {
@Override