net.sourceforge.cilib.cooperative.algorithmiterators
Interface AlgorithmIterator<E>

Type Parameters:
E - The type.
All Superinterfaces:
Cloneable, Iterator<E>, ListIterator<E>, Serializable
All Known Implementing Classes:
RandomAlgorithmIterator, SequentialAlgorithmIterator

public interface AlgorithmIterator<E>
extends ListIterator<E>, Cloneable

TODO: Complete this Javadoc.


Method Summary
 E current()
           
 AlgorithmIterator<E> getClone()
          Create a cloned copy of the current object and return it.
 void setAlgorithms(List<E> algorithms)
           
 
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
 

Method Detail

getClone

AlgorithmIterator<E> getClone()
Description copied from interface: Cloneable
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

current

E current()

setAlgorithms

void setAlgorithms(List<E> algorithms)


Copyright © 2009 CIRG. All Rights Reserved.