net.fortytwo.flow
Class AdapterSink<T,E extends Exception,F extends Exception>

java.lang.Object
  extended by net.fortytwo.flow.AdapterSink<T,E,F>
All Implemented Interfaces:
Sink<T,F>

public class AdapterSink<T,E extends Exception,F extends Exception>
extends Object
implements Sink<T,F>

User: josh Date: Mar 26, 2010 Time: 6:58:12 PM


Nested Class Summary
static interface AdapterSink.ExceptionAdapter<F extends Exception>
           
 
Constructor Summary
AdapterSink(Sink<T,E> baseSink, AdapterSink.ExceptionAdapter<F> exAdapter)
           
 
Method Summary
 void put(T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterSink

public AdapterSink(Sink<T,E> baseSink,
                   AdapterSink.ExceptionAdapter<F> exAdapter)
Method Detail

put

public void put(T t)
         throws F extends Exception
Specified by:
put in interface Sink<T,F extends Exception>
Throws:
F extends Exception


Copyright © 2007-2011 fortytwo.net. All Rights Reserved.