Class Update<U>

  • All Implemented Interfaces:

    public abstract class Update<U>
    extends java.lang.Object
    implements HasCommands
    • Constructor Summary

      Constructor Description
      Update​(Command command)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Command> commands()  
      abstract <V> Update<V> map​(java.util.function.Function<? super U,​? extends V> f)
      Map the result type.
      • Methods inherited from class java.lang.Object

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

      • Update

        public Update​(Command command)
    • Method Detail

      • map

        public abstract <V> Update<V> map​(java.util.function.Function<? super U,​? extends V> f)
        Map the result type.
           // follows the functor laws
           u = -> a)