|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.util.SingleValueIterator<Value>
cascading.util.SingleValueCloseableIterator<Value>
Value
- public abstract class SingleValueCloseableIterator<Value>
SingleValueIterator is a utility class used for quickly presenting a single value to a consumer
expecting both a Closeable
and an Iterator
interface. After returning the Value
value via SingleValueIterator.next()
, SingleValueIterator.hasNext()
will return false
.
Collection
to hold a single value
in which to create an Iterator.
Field Summary |
---|
Fields inherited from class cascading.util.SingleValueIterator |
---|
EMPTY, value |
Constructor Summary | |
---|---|
SingleValueCloseableIterator(Value value)
|
Method Summary | |
---|---|
abstract void |
close()
|
protected Value |
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 |
---|
public SingleValueCloseableIterator(Value value)
Method Detail |
---|
protected Value getCloseableInput()
public abstract void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |