Class UnsetIfWithin

  • All Implemented Interfaces:
    java.util.function.DoubleFunction<java.lang.Object>

    public class UnsetIfWithin
    extends java.lang.Object
    implements java.util.function.DoubleFunction<java.lang.Object>
    Yields UNSET.value if the input value is within the specified range, inclusive. Otherwise, passes the original value along.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnsetIfWithin​(double min, double max)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object apply​(double value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnsetIfWithin

        public UnsetIfWithin​(double min,
                             double max)
    • Method Detail

      • apply

        public java.lang.Object apply​(double value)
        Specified by:
        apply in interface java.util.function.DoubleFunction<java.lang.Object>