com.atlassian.jira.util
Interface Consumer<T>

All Known Implementing Classes:
Base64InputStreamConsumer, StreamCopyingConsumer

public interface Consumer<T>

Consume the object a Supplier produces.


Method Summary
 void consume(T element)
          Consume the product.
 

Method Detail

consume

void consume(@NotNull
             T element)
Consume the product.

Parameters:
element - must not be null


Copyright © 2002-2010 Atlassian. All Rights Reserved.