cascading.util
Class SingleCloseableInputIterator

java.lang.Object
  extended by cascading.util.SingleValueIterator<Value>
      extended by cascading.util.SingleValueCloseableIterator<Closeable>
          extended by cascading.util.SingleCloseableInputIterator
All Implemented Interfaces:
CloseableIterator<Closeable>, Closeable, Iterator<Closeable>

public class SingleCloseableInputIterator
extends SingleValueCloseableIterator<Closeable>


Field Summary
 
Fields inherited from class cascading.util.SingleValueIterator
EMPTY, value
 
Constructor Summary
SingleCloseableInputIterator(Closeable input)
           
 
Method Summary
 void close()
           
 
Methods inherited from class cascading.util.SingleValueCloseableIterator
getCloseableInput
 
Methods inherited from class cascading.util.SingleValueIterator
hasNext, next, remove, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

SingleCloseableInputIterator

public SingleCloseableInputIterator(Closeable input)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class SingleValueCloseableIterator<Closeable>
Throws:
IOException


Copyright © 2007-2014 Concurrent, Inc. All Rights Reserved.