JavaEWAH 1.2.3
com.googlecode.javaewah
CloneableIterator
Top
Description
Methods
com.googlecode.javaewah
public
Interface CloneableIterator<E>
extends
Cloneable
Known Direct Implementers
com.
googlecode.
javaewah.
BufferedORIterator
,
com.
googlecode.
javaewah.
BufferedXORIterator
,
com.
googlecode.
javaewah.
BufferedAndIterator
,
com.
googlecode.
javaewah32.
ORIt
,
com.
googlecode.
javaewah32.
XORIt
,
com.
googlecode.
javaewah32.
AndIt
Type Parameters
<E>
the data type of the iterator
Like a standard Java iterator, except that you can clone it.
Method Summary
Modifier and Type
Method and Description
public
CloneableIterator
<E>
Returns:
a copy
clone
()
public
boolean
Returns:
whether there is more
hasNext
()
public
E
Returns:
the next element
next
()
Method Detail
clone
back to summary
public
CloneableIterator
<E>
clone
()
throws
CloneNotSupportedException
Returns:
CloneableIterator
<E>
a copy
Exceptions
CloneNotSupportedException
:
this should never happen in practice
hasNext
back to summary
public
boolean
hasNext
()
Returns:
boolean
whether there is more
next
back to summary
public
E
next
()
Returns:
E
the next element