Class Delayer.Entry

  • Enclosing class:
    Delayer<T>

    protected class Delayer.Entry
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Consumer<java.lang.Boolean> action  
      protected java.util.concurrent.CompletableFuture<java.lang.Void> f  
      protected T key  
      protected java.util.function.Predicate<T> pred  
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(T key, java.util.function.Predicate<T> pred, java.util.function.Consumer<java.lang.Boolean> action)  
    • Field Detail

      • key

        protected T key
      • pred

        protected java.util.function.Predicate<T> pred
      • action

        protected java.util.function.Consumer<java.lang.Boolean> action
      • f

        protected java.util.concurrent.CompletableFuture<java.lang.Void> f
    • Constructor Detail

      • Entry

        public Entry​(T key,
                     java.util.function.Predicate<T> pred,
                     java.util.function.Consumer<java.lang.Boolean> action)
    • Method Detail

      • done

        public boolean done()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object