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(org.apache.lucene.queries.function.ValueSource source) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
protected double |
func(int doc,
org.apache.lucene.queries.function.FunctionValues vals) |
protected String |
name() |
getValues, hashCodepublic static final String NAME
public AbsoluteValueDoubleFunction(org.apache.lucene.queries.function.ValueSource source)
protected String name()
public String description()
description in class SingleDoubleFunctionprotected double func(int doc,
org.apache.lucene.queries.function.FunctionValues vals)
public boolean equals(Object o)
equals in class SingleDoubleFunctionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.