public class

IteratorEnumeration

extends Object
implements Enumeration<E>
java.lang.Object
   ↳ com.atlassian.jira.util.collect.IteratorEnumeration<E>

Class Overview

Adaptor for turning an Iterator an into Enumeration.

Summary

Public Methods
static <E> Enumeration<E> fromIterable(Iterable<? extends E> iterable)
static <E> Enumeration<E> fromIterator(Iterator<? extends E> iterator)
boolean hasMoreElements()
E nextElement()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Enumeration

Public Methods

public static Enumeration<E> fromIterable (Iterable<? extends E> iterable)

public static Enumeration<E> fromIterator (Iterator<? extends E> iterator)

public boolean hasMoreElements ()

public E nextElement ()