Example usage for java.util Enumeration interface-usage

List of usage examples for java.util Enumeration interface-usage

Introduction

In this page you can find the example usage for java.util Enumeration interface-usage.

Usage

From source file Array.java

public class Array implements java.util.Enumeration, java.io.Serializable {
    private int current = 0;
    private int size = 10;
    private int grow = 2;
    private int place = 0;
    private Object[] elements = null;

From source file StringTokenizer.java

/**
 * The string tokenizer class allows an application to break a string into
 * tokens.
 * More information about this class is available from <a target="_top" href=
 * "http://ostermiller.org/utils/StringTokenizer.html">ostermiller.org</a>.
 * <p>

From source file Utils.java

class SeqEn<T> extends Object implements Enumeration<T> {
    /** enumeration of Enumerations */
    private Enumeration<? extends Enumeration<? extends T>> en;

    /** current enumeration */
    private Enumeration<? extends T> current;

From source file pt.webdetails.cdf.dd.packager.Concatenate.java

class ListOfFiles implements Enumeration<FileInputStream> {

    private File[] listOfFiles;
    private int current = 0;

    public ListOfFiles(File[] listOfFiles) {

From source file Hash.java

class Array implements java.util.Enumeration, java.io.Serializable {
    private int current = 0;

    private int size = 10;

    private int grow = 2;

From source file org.xchain.framework.servlet.MultipartFormDataServletRequest.java

class IteratorEnumeration<T> implements Enumeration<T> {
    Iterator<T> wrappedIterator = null;

    public IteratorEnumeration(Iterator<T> wrappedIterator) {
        this.wrappedIterator = wrappedIterator;
    }

From source file LruHashtable.java

class LruHashtableEnumerator implements Enumeration {
    Enumeration oldEnum;
    Enumeration newEnum;
    boolean old;

    LruHashtableEnumerator(Hashtable oldTable, Hashtable newTable, boolean keys) {

From source file ArrayDictionary.java

/** Iterates through array skipping nulls. */
class ArrayEnumeration implements Enumeration {
    private int nelems;
    private int elemCount;
    private int arrayIdx;
    private Object[] array;

From source file NetUtils.java

/**
 * Replacement for StringTokenizer in java.util, beacuse of bug in the
 * Sun's implementation.
 *
 * @author <A HREF="mailto:moravek@pobox.sk">Peter Moravek</A>
 */