This project has retired. For details please refer to its Attic page.
RollingVectorEnumeration (Tiles 2 2.0.7 Test API)

org.apache.tiles.util
Class RollingVectorEnumeration<E>

Package class diagram package RollingVectorEnumeration
java.lang.Object
  extended by org.apache.tiles.util.RollingVectorEnumeration<E>
Type Parameters:
E - The type of the element of this enumeration.
All Implemented Interfaces:
Enumeration<E>

public class RollingVectorEnumeration<E>
extends Object
implements Enumeration<E>

It represents an vector-based enumeration when, when it has finished enumerating items, it starts from the beginning.

Version:
$Rev: 527536 $ $Date: 2007-04-11 17:44:51 +0200 (Wed, 11 Apr 2007) $

Constructor Summary
RollingVectorEnumeration(Vector<E> vector)
          Constructor.
 
Method Summary
 boolean hasMoreElements()
          
 E nextElement()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RollingVectorEnumeration

public RollingVectorEnumeration(Vector<E> vector)
Constructor.

Parameters:
vector - The vector.
Method Detail

hasMoreElements

public boolean hasMoreElements()

Specified by:
hasMoreElements in interface Enumeration<E>

nextElement

public E nextElement()

Specified by:
nextElement in interface Enumeration<E>


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.