org.rcfaces.core.component.iterator
Interface ICardIterator

All Superinterfaces:
IComponentIterator

public interface ICardIterator
extends IComponentIterator

An iterator over a collection of CardComponents.

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Method Summary
 CardComponent next()
          Returns the next CardComponent in the iteration.
 CardComponent[] toArray()
          Returns an array containing all of the CardComponents in this list in proper sequence.
 
Methods inherited from interface org.rcfaces.core.component.iterator.IComponentIterator
count, hasNext, nextComponent, toArray
 

Method Detail

next

CardComponent next()
Returns the next CardComponent in the iteration. Calling this method repeatedly until the IComponentIterator.hasNext() method returns false will return each CardComponent in the underlying collection exactly once.

Returns:
the next CardComponent in the iteration.
Throws:
NoSuchElementException - iteration has no more CardComponents.

toArray

CardComponent[] toArray()
Returns an array containing all of the CardComponents in this list in proper sequence.

Returns:
an array containing all of the CardComponents in this list in proper sequence.


Copyright © 2006-2011 Vedana. All Rights Reserved.