| Modifier and Type | Field and Description |
|---|---|
protected T |
firstDistinguishedItem |
protected BiPredicate<? super T,? super T> |
isTooSimilar |
protected Consumer<? super T> |
itemDelegate |
protected long |
numSkippedItems |
protected T |
recentlySkippedItem |
protected Consumer<Long> |
skipCountDelegate |
| Constructor and Description |
|---|
OmitSimilarItems(Consumer<? super T> itemDelegate,
Consumer<Long> skipCountDelegate,
BiPredicate<? super T,? super T> isTooSimilar) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T item) |
static Consumer<String> |
forStrings(int maxLevenshteinDistance,
Consumer<String> delegate) |
protected BiPredicate<? super T,? super T> isTooSimilar
protected T firstDistinguishedItem
protected T recentlySkippedItem
protected long numSkippedItems
Copyright © 2020. All rights reserved.