T
- a DimensionalFilterpublic abstract class DimensionalFilter<T extends DimensionalFilter<? super T>> extends Filter
Filter.DefaultFilterType
Modifier | Constructor and Description |
---|---|
protected |
DimensionalFilter(Dimension dimension,
FilterType type)
Constructor, default extraction function to the one on dimension if it has one.
|
protected |
DimensionalFilter(Dimension dimension,
FilterType type,
ExtractionFunction extractionFunction)
Constructor, with explicit extraction function provided.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Dimension |
getDimension() |
ExtractionFunction |
getExtractionFunction() |
int |
hashCode() |
abstract T |
withDimension(Dimension dimension)
Get a new instance of this filter with the given Dimension.
|
protected DimensionalFilter(Dimension dimension, FilterType type)
dimension
- Dimension to filtertype
- Type of the filterprotected DimensionalFilter(Dimension dimension, FilterType type, ExtractionFunction extractionFunction)
dimension
- Dimension to filtertype
- Type of the filterextractionFunction
- Extraction function to be applied on dimensionpublic Dimension getDimension()
public ExtractionFunction getExtractionFunction()
public abstract T withDimension(Dimension dimension)
dimension
- Dimension of the new filterCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.