org.apache.directory.shared.ldap.util
Class ArrayEnumeration
java.lang.Object
org.apache.directory.shared.ldap.util.ArrayEnumeration
- All Implemented Interfaces:
- Enumeration
public class ArrayEnumeration
- extends Object
- implements Enumeration
An enumeration wrapper around an array.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumeration
public ArrayEnumeration(Object[] array)
- Constructs an enumeration by wrapping an array.
- Parameters:
array
- the underlying array that is wrapped
hasMoreElements
public final boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
Copyright © 2004-2012. All Rights Reserved.