- Type Parameters:
V- value typeK- key type
- All Known Subinterfaces:
DoubleVectorKeyExtractor<V>,FloatVectorKeyExtractor<V>,IntegerListDoubleVectorKeyExtractor,IntegerListFloatVectorKeyExtractor,StringDoubleVectorKeyExtractor,StringFloatVectorKeyExtractor,StringMapDoubleVectorKeyExtractor,StringMapFloatVectorKeyExtractor
public interface KeyExtractor<V,K>
Extracts key (e.g. a vector) from value (e.g. String)
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends KeyExtractor<?,?>>
Tdefault <U> KeyExtractor<U,K> before(BiFunction<U, org.nasdanika.common.ProgressMonitor, V> before) default <U> KeyExtractor<U,K> static <V,K> KeyExtractor<V, K> from(BiFunction<V, org.nasdanika.common.ProgressMonitor, K> biFunction) static <V,K> KeyExtractor<V, K> default <L> KeyExtractor<V,L> then(BiFunction<K, org.nasdanika.common.ProgressMonitor, L> after) default <L> KeyExtractor<V,L>
-
Method Details
-
extract
-
from
-
from
static <V,K> KeyExtractor<V,K> from(BiFunction<V, org.nasdanika.common.ProgressMonitor, K> biFunction) -
then
-
then
-
before
-
before
-
adapt
-