T - V - C - public abstract class CompiledExtractorBase<T,V,C> extends AbstractExtractor<T,V,C> implements Mappable<T,V,C>
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
map |
cost, costUnit, initialCost, invocations, nanos, totalCost| Modifier | Constructor and Description |
|---|---|
protected |
CompiledExtractorBase(int[] map,
boolean contextDependent,
int... parameterIndices) |
| Modifier and Type | Method and Description |
|---|---|
ComparisonResult |
compareTo(Extractor<T,V,C> other)
Basic comparisons with True and False.
|
protected abstract List<Object> |
getIdentity() |
Extractor<T,V,C> |
map(int[] map)
Applies mapping to extractor.
|
protected int |
mapArg(int idx)
Maps argument indices for invocation.
|
protected abstract CompiledExtractorBase<T,V,C> |
newInstance(int[] map) |
Set<Integer> |
parameterIndices() |
isContextDependentcreateCacheEntry, equals, extract, extractInternal, getCostprotected int[] map
protected CompiledExtractorBase(int[] map, boolean contextDependent, int... parameterIndices)
protected abstract CompiledExtractorBase<T,V,C> newInstance(int[] map)
protected abstract List<Object> getIdentity()
protected int mapArg(int idx)
idx - public Extractor<T,V,C> map(int[] map)
Mappablepublic ComparisonResult compareTo(Extractor<T,V,C> other)
ExtractorBasepublic Set<Integer> parameterIndices()
parameterIndices in interface Extractor<T,V,C>parameterIndices in class AbstractExtractor<T,V,C>