Class DoubleArrayElementExtractor
java.lang.Object
org.hibernate.search.mapper.pojo.extractor.builtin.impl.DoubleArrayElementExtractor
- All Implemented Interfaces:
ContainerExtractor<double[],Double>
public class DoubleArrayElementExtractor
extends Object
implements ContainerExtractor<double[],Double>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,C2> void extract(double[] container, ValueProcessor<T, ? super Double, C2> perValueProcessor, T target, C2 context, ContainerExtractionContext extractionContext) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.mapper.pojo.extractor.ContainerExtractor
multiValued
-
Constructor Details
-
DoubleArrayElementExtractor
public DoubleArrayElementExtractor()
-
-
Method Details
-
toString
-
extract
public <T,C2> void extract(double[] container, ValueProcessor<T, ? super Double, C2> perValueProcessor, T target, C2 context, ContainerExtractionContext extractionContext) - Specified by:
extractin interfaceContainerExtractor<double[],Double> - Type Parameters:
T- The type of thetargetof theperValueProcessor, i.e. whatever it is supposed to push the result of its processing to.C2- The type of thecontextof theperValueProcessor, i.e. whatever information it needs that is independent from the target or value.- Parameters:
container- A container to extract values from.perValueProcessor- A processor for values extracted from the container.target- The target to pass to theperValueProcessor.context- The context to pass to theperValueProcessor.extractionContext- A context for use by the container extractor itself.
-