public class DivFloatFunction extends DualFloatFunction
a, b| Constructor and Description |
|---|
DivFloatFunction(ValueSource a,
ValueSource b) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
func(int doc,
FunctionValues aVals,
FunctionValues bVals) |
protected java.lang.String |
name() |
createWeight, description, equals, getValues, hashCodeasDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toStringpublic DivFloatFunction(ValueSource a, ValueSource b)
a - the numerator.b - the denominator.protected java.lang.String name()
name in class DualFloatFunctionprotected float func(int doc,
FunctionValues aVals,
FunctionValues bVals)
throws java.io.IOException
func in class DualFloatFunctionjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.