Class StaircaseFunction
- java.lang.Object
-
- com.atlassian.confluence.search.v2.score.StaircaseFunction
-
- All Implemented Interfaces:
ComposableScoreFunction
,ScoreFunction
public final class StaircaseFunction extends Object implements ComposableScoreFunction
Staircase decay function applied to a field value.- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor Description StaircaseFunction(@NonNull FieldValueSource source, @NonNull Map<? extends Number,? extends Number> staircases)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NonNull FieldValueSource
getSource()
@NonNull SortedMap<Double,Double>
getStaircases()
int
hashCode()
-
-
-
Constructor Detail
-
StaircaseFunction
public StaircaseFunction(@NonNull FieldValueSource source, @NonNull Map<? extends Number,? extends Number> staircases)
-
-