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, hashCode
asDoubleValuesSource, asLongValuesSource, createWeight, getSortField, newContext, toString
public static final String NAME
public AbsoluteValueDoubleFunction(ValueSource source)
protected String name()
public String description()
description
in class SingleDoubleFunction
protected double func(int doc, FunctionValues vals)
public boolean equals(Object o)
equals
in class SingleDoubleFunction
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.