Analogous to LINQ's System.Collections.Enumerator. Unlike LINQ, if the underlying collection has been modified it is only optional that an implementation of the Enumerator interface detects it and throws a {@link java.util.ConcurrentModificationException}.
@param < T> Element typeEnumeration
around a Java2 collection classes object Iterator
so that existing APIs returning Enumerations can easily run on top of the new collections. Constructors are provided to easliy create such wrappers.
@author Craig R. McClanahan
@author 王志亮 [qieqie.wang@gmail.com]
@version $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24Oct 2006) $
Adapter that wraps an Enumeration
around a Java 2 collection Iterator
.
Constructors are provided to easily create such wrappers.
This class is based on code in Apache Tomcat.
@author Craig McClanahan @author Andrey Grebnev @version $Id: Enumerator.java 1784 2007-02-24 21:00:24Z luke_t $Enumeration
around a Java2 collection classes object Iterator
so that existing APIs returning Enumerations can easily run on top of the new collections. Constructors are provided to easliy create such wrappers.
@author Craig R. McClanahan
@version $Revision: 466595 $ $Date: 2006-10-21 23:24:41 +0100 (Sat, 21 Oct 2006) $
Enumeration
around a Java2 collection classes object Iterator
so that existing APIs returning Enumerations can easily run on top of the new collections. Constructors are provided to easliy create such wrappers.
@author Craig R. McClanahan
@version $Revision: 515 $ $Date: 2008-03-17 17:02:23 -0400 (Mon, 17 Mar 2008) $
Enumeration
around a Collection, i.e. Iterator
classes.
Enumeration
around a Java2 collection classes object Iterator
so that existing APIs returning Enumerations can easily run on top of the new collections. Constructors are provided to easliy create such wrappers.
@author Craig R. McClanahan
@version $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Die, 24 Okt 2006) $
Enumeration
around a Java2 collection classes object Iterator
so that existing APIs returning Enumerations can easily run on top of the new collections. Constructors are provided to easliy create such wrappers.
@author Craig R. McClanahan
@version $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|