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

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

public class EnumrationImpl
extends Object
implements 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  Object[] objs
           
protected  int pos
           
 
Constructor Summary
EnumrationImpl(Object[] os)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objs

protected Object[] objs

pos

protected int pos
Constructor Detail

EnumrationImpl

public EnumrationImpl(Object[] os)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 2012 OW2 Consortium. All Rights Reserved.