Class AssistantBase<I,​R>

    • Constructor Summary

      Constructors 
      Constructor Description
      AssistantBase​(java.lang.ref.WeakReference<java.util.function.Consumer<R>> consumer)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(I newValue)  
      void dispose()  
      protected void finalize()  
      protected abstract R process​(I input)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • AssistantBase

        public AssistantBase​(java.lang.ref.WeakReference<java.util.function.Consumer<R>> consumer)
    • Method Detail

      • process

        protected abstract R process​(I input)
      • dispose

        public final void dispose()
      • finalize

        protected final void finalize()
        Overrides:
        finalize in class java.lang.Object
      • accept

        public final void accept​(I newValue)
        Specified by:
        accept in interface java.util.function.Consumer<I>