Package org.apache.lucene.util
Interface Unwrappable<T>
- All Known Implementing Classes:
CachingTokenFilter
,FilteringTokenFilter
,FilterLeafReader.FilterPostingsEnum
,FilterMergePolicy
,FilterScorer
,GraphTokenFilter
,LowerCaseFilter
,OneMergeWrappingMergePolicy
,SoftDeletesRetentionMergePolicy
,StopFilter
,TokenFilter
,UpgradeIndexMergePolicy
public interface Unwrappable<T>
An object with this interface is a wrapper around another object (e.g., a filter with a
delegate). The method
unwrap()
can be called to get the wrapped object- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Method Summary
-
Method Details
-
unwrap
T unwrap()Unwraps this instance -
unwrapAll
static <T> T unwrapAll(T o) Unwraps allUnwrappable
s around the given object.
-