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
Afficher le fichier Open project: EventStore/csharp-ldap

Méthodes publiques

Méthode 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 méthode

public EnumeratedIterator ( System iterator ) : System
iterator System
Résultat System

MoveNext() public méthode

public MoveNext ( ) : bool
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

hasMoreElements() public méthode

Enumeration method that maps to Iterator.hasNext()
public hasMoreElements ( ) : bool
Résultat bool

nextElement() public méthode

Enumeration method that maps to Iterator.next()
public nextElement ( ) : Object
Résultat System.Object