Class StreamFunctions.PercentDelta

java.lang.Object
com.fluxtion.ext.streaming.api.stream.StreamFunctions.PercentDelta
All Implemented Interfaces:
Stateful
Enclosing class:
StreamFunctions

public static class StreamFunctions.PercentDelta
extends java.lang.Object
implements Stateful
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.fluxtion.ext.streaming.api.Stateful

    Stateful.StatefulNumber<S>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    double previous  
  • Constructor Summary

    Constructors 
    Constructor Description
    PercentDelta()  
  • Method Summary

    Modifier and Type Method Description
    void reset()  
    double value​(double newVal)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.fluxtion.ext.streaming.api.Stateful

    combine, deduct, setBucketCount
  • Field Details

  • Constructor Details

  • Method Details

    • value

      public double value​(double newVal)
    • reset

      public void reset()
      Specified by:
      reset in interface Stateful