Class RangeMapFloatFunction


  • public class RangeMapFloatFunction
    extends ValueSource
    RangeMapFloatFunction implements a map function over another ValueSource whose values fall within min and max inclusive to target.
    Normally Used as an argument to a FunctionQuery
    • Field Detail

      • min

        protected final float min
      • max

        protected final float max
    • Constructor Detail

      • RangeMapFloatFunction

        public RangeMapFloatFunction​(ValueSource source,
                                     float min,
                                     float max,
                                     float target,
                                     Float def)