|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.minorthird.util.AbstractLooper<T>
public class AbstractLooper<T>
Constructor Summary | |
---|---|
AbstractLooper(java.util.Collection<T> c)
|
|
AbstractLooper(java.util.Iterator<T> i)
|
Method Summary | |
---|---|
int |
estimatedSize()
Estimated number of items to be iterated over, or -1 if the number is unknown. |
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLooper(java.util.Iterator<T> i)
public AbstractLooper(java.util.Collection<T> c)
Method Detail |
---|
public void remove()
remove
in interface java.util.Iterator<T>
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public int estimatedSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |