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

All Known Implementing Classes:
Base64InputStreamConsumer, StreamCopyingConsumer

@PublicApi
public interface Consumer<T>

Consume the object a Supplier produces.


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

Method Detail

consume

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

Parameters:
element - must not be null


Copyright © 2002-2014 Atlassian. All Rights Reserved.