View Javadoc

1   package com.atlassian.plugin.util.collect;
2   
3   /**
4    * Consume the object a {@link Supplier} produces.
5    */
6   public interface Consumer<T>
7   {
8       /**
9        * Consume the product.
10       * 
11       * @param element must not be null
12       */
13      void consume(T element);
14  }