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

java.lang.Object
  extended by net.fortytwo.flow.SimpleReadOnlyCollection<T>
      extended by net.fortytwo.flow.Collector<T,E>
          extended by net.fortytwo.flow.Buffer<T,E>
All Implemented Interfaces:
Iterable<T>, Collection<T>, Sink<T,E>, Source<T,E>

public class Buffer<T,E extends Exception>
extends Collector<T,E>


Constructor Summary
Buffer(Sink<T,E> sink)
           
 
Method Summary
 void flush()
           
 
Methods inherited from class net.fortytwo.flow.Collector
clear, iterator, put, size, writeTo
 
Methods inherited from class net.fortytwo.flow.SimpleReadOnlyCollection
add, addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

Buffer

public Buffer(Sink<T,E> sink)
Method Detail

flush

public void flush()
           throws E extends Exception
Throws:
E extends Exception


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