|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.iterator.HeavyweightIteratorAdapter<S,P>
public abstract class HeavyweightIteratorAdapter<S,P>
Wraps an Iterator with a HeavyweightIterator.
If the wrapped iterator implements Closeable, calls to
close() are forwarded, otherwise ignored
.
Created at 17.10.2008 01:27:08
| Field Summary | |
|---|---|
protected java.util.Iterator<S> |
source
|
| Constructor Summary | |
|---|---|
HeavyweightIteratorAdapter(java.util.Iterator<S> source)
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
hasNext()
|
void |
remove()
|
| 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 |
|---|
next |
| Field Detail |
|---|
protected java.util.Iterator<S> source
| Constructor Detail |
|---|
public HeavyweightIteratorAdapter(java.util.Iterator<S> source)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<P>public void remove()
remove in interface java.util.Iterator<P>public void close()
close in interface java.io.Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||