List of usage examples for java.util Enumeration interface-usage
From source file ArrayEnumeration.java
public class ArrayEnumeration implements Enumeration { private final int size; private int cursor; private final Object array;
From source file ArrayEnumeration.java
class ArrayEnumeration implements Enumeration { private final int size; private int cursor; private final Object array;
From source file collection.java
class collection implements Enumeration { private int count = 0; private boolean more = true; public boolean hasMoreElements() {
From source file IteratorEnumeration.java
class IteratorEnumeration<E> implements Enumeration<E> { private final Iterator<E> iterator; public IteratorEnumeration(Iterator<E> iterator) { this.iterator = iterator; }
From source file EmptyEnumeration.java
/**
* An EmptyEnumeration.
*
* @author Robin Sharp
*/
From source file ArrayEnumeration.java
/**
* An ArrayEnumeration converts a Array to an Enumeration and allows it
* to be serialized.
* <p>
* @author Robin Sharp
*/
From source file InputStreamEnumerator.java
class InputStreamEnumerator implements Enumeration<FileInputStream> { private Enumeration<String> files; public InputStreamEnumerator(Vector<String> files) { this.files = files.elements(); }
From source file com.espertech.esper.collection.NumberSetShiftGroupEnumeration.java
/** * Enumeration that first returns a round-shift-left of all numbers * and when that is exhausted it returns number sets using grouped algo until exhausted. */ public class NumberSetShiftGroupEnumeration implements Enumeration<int[]> { private final int[] numberSet;
From source file ORG.oclc.os.SRW.ElementParser.java
/** * * @author levan */ public class ElementParser implements Enumeration { static Log log = LogFactory.getLog(ElementParser.class);
From source file org.sakaiproject.util.IteratorEnumeration.java
/**
* <p>
* IteratorEnumeration is an enumeration over an iterator.
* </p>
* @deprecated use {@link org.apache.commons.collections4.iterators.IteratorEnumeration} instead, this will be removed after 2.9 - Dec 2011
*/