public class AddDoubleFunction extends MultiDoubleFunction
AddDoubleFunction returns the sum of its components.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
sources| Constructor and Description |
|---|
AddDoubleFunction(ValueSource[] sources) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
func(int doc,
FunctionValues[] valsArr) |
protected String |
name() |
createWeight, description, equals, getValues, hashCodegetSortField, newContext, toStringpublic static final String NAME
public AddDoubleFunction(ValueSource[] sources)
protected String name()
name in class MultiDoubleFunctionprotected double func(int doc,
FunctionValues[] valsArr)
func in class MultiDoubleFunctionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.