Package no.digipost.util.bisect
Interface Suggestion.Disposer<T>
-
- Type Parameters:
T- the type of the suggested value which are to be disposed
- Enclosing class:
- Suggestion<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Suggestion.Disposer<T>
A disposing operation for a dismissed value of aSuggestion.
-
-
Field Summary
Fields Modifier and Type Field Description static Suggestion.Disposer<AutoCloseable>DISPOSE_BY_CLOSINGstatic Suggestion.Disposer<Object>NO_DISPOSING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose(T suggestion)
-
-
-
Field Detail
-
NO_DISPOSING
static final Suggestion.Disposer<Object> NO_DISPOSING
-
DISPOSE_BY_CLOSING
static final Suggestion.Disposer<AutoCloseable> DISPOSE_BY_CLOSING
-
-