Package 

Class accumulationKt

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> Object gossip(T value, Function2<T, T, T> f) Gossip a value manipulated according to f.
      final Boolean gossipEver(Boolean a) Gossip whether the device has ever experienced a given condition.
      • Methods inherited from class java.lang.Object

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

      • gossip

         final <T extends Any> Object gossip(T value, Function2<T, T, T> f)

        Gossip a value manipulated according to f.

        Parameters:
        value - what to gossip
        f - how to manipulate value
      • gossipEver

         final Boolean gossipEver(Boolean a)

        Gossip whether the device has ever experienced a given condition.

        Parameters:
        a - condition