Class ConsumingContainer<T>

  • All Implemented Interfaces:
    Container<T>

    public class ConsumingContainer<T>
    extends java.lang.Object
    implements Container<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Consumer<T> consumer  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsumingContainer​(java.util.function.Consumer<T> consumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addContent​(T content)  
      boolean isEmpty()  
      boolean isFull()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.processmining.specpp.componenting.delegators.Container

        isNonEmpty
    • Field Detail

      • consumer

        protected final java.util.function.Consumer<T> consumer
    • Constructor Detail

      • ConsumingContainer

        public ConsumingContainer​(java.util.function.Consumer<T> consumer)