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 TypeMethod 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

cloneback to summary
public CloneableIterator<E> clone() throws CloneNotSupportedException
Returns:CloneableIterator<E>

a copy

Exceptions
CloneNotSupportedException:
this should never happen in practice
hasNextback to summary
public boolean hasNext()
Returns:boolean

whether there is more

nextback to summary
public E next()
Returns:E

the next element