C# Class Novell.Directory.Ldap.Utilclass.EnumeratedIterator

wrappers a class of type Iterator and makes it act as an Enumerator. This is used when the API requires enumerations be used but we may be using JDK1.2 collections, which return iterators instead of enumerators. Used by LdapSchema and LdapSchemaElement
Inheritance: System.Collections.IEnumerator
Mostrar archivo Open project: EventStore/csharp-ldap

Public Methods

Method Description
EnumeratedIterator ( System iterator ) : System
MoveNext ( ) : bool
Reset ( ) : void
hasMoreElements ( ) : bool

Enumeration method that maps to Iterator.hasNext()

nextElement ( ) : Object

Enumeration method that maps to Iterator.next()

Method Details

EnumeratedIterator() public method

public EnumeratedIterator ( System iterator ) : System
iterator System
return System

MoveNext() public method

public MoveNext ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

hasMoreElements() public method

Enumeration method that maps to Iterator.hasNext()
public hasMoreElements ( ) : bool
return bool

nextElement() public method

Enumeration method that maps to Iterator.next()
public nextElement ( ) : Object
return System.Object