Package 

Class Accumulation

  • All Implemented Interfaces:

    
    public final class Accumulation
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Object gossip(T value, Function2<T, T, T> f) Gossip a value manipulated according to f.
      final static 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
    • Constructor Detail

    • Method Detail

      • gossip

         final static <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 static Boolean gossipEver(Boolean a)

        Gossip whether the device has ever experienced a given condition.

        Parameters:
        a - condition