public class AbsoluteValueDoubleFunction extends SingleDoubleFunction
AbsoluteValueDoubleFunction takes the absolute value of the double value of the source it contains.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
source| Constructor and Description |
|---|
AbsoluteValueDoubleFunction(ValueSource source) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
protected double |
func(int doc,
FunctionValues vals) |
protected String |
name() |
getValues, hashCodecreateWeight, getSortField, newContext, toStringpublic static final String NAME
public AbsoluteValueDoubleFunction(ValueSource source)
protected String name()
public String description()
description in class SingleDoubleFunctionprotected double func(int doc,
FunctionValues vals)
public boolean equals(Object o)
equals in class SingleDoubleFunctionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.