org.objectweb.util.monolog.wrapper.common
Class EnumrationImpl

java.lang.Object
  extended by org.objectweb.util.monolog.wrapper.common.EnumrationImpl
All Implemented Interfaces:
java.util.Enumeration

public class EnumrationImpl
extends java.lang.Object
implements java.util.Enumeration

This tools class is a basic implementation of the java.util.Enumeration. This implementation is based on an object array.

Author:
Sebastien Chassande-Barrioz

Field Summary
protected  java.lang.Object[] objs
           
protected  int pos
           
 
Constructor Summary
EnumrationImpl(java.lang.Object[] os)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objs

protected java.lang.Object[] objs

pos

protected int pos
Constructor Detail

EnumrationImpl

public EnumrationImpl(java.lang.Object[] os)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration