%bte.doc super="item.bte" %> <%bte.tpl name=pageTitle%>Basic Iterators and Enumerations<%/bte.tpl%> <%bte.tpl name=description%>Java libraries to provide basic iterator and enumerations: convert between iterators and enumerations and convert an array to an iterator or enumeration..<%/bte.tpl%> <%bte.tpl name=keywords%>enumerationiterator, enumeration iterator, arrayiterator, array iterator, arrayenumeration, array enumeration, iterator enumeration, iteratorenumeration, convert iterator to enumeration, java iterator to enumeration, convert enumeration to iterator, java enumeration to iterator, convert array to iterator, java array to iterator, convert array to enumeration java array to iterator<%/bte.tpl%> <%bte.tpl name=content%>
Enumeration e = new IteratorEnumeration( collection.iterator() );
[Download /w Source | Version History | Browse Source | Documentation]
Iterator i = new EnumerationIterator( vector.elements() );
[Download /w Source | Version History | Browse Source | Documentation]
Enumeration e = new ArrayEnumeration( new String[]{"one","two","three"} );
[Download /w Source | Version History | Browse Source | Documentation]
Iterator i = new ArrayIterator( new String[]{"one","two","three"} );
[Download /w Source | Version History | Browse Source | Documentation]