DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | List of all members
Deveel.Data.Index.IIndexEnumerator< T > Interface Template Reference

Enumerates the elements of an index. More...

Inheritance diagram for Deveel.Data.Index.IIndexEnumerator< T >:
Deveel.Data.Index.BlockIndexBase< T >.Enumerator

Public Member Functions

bool MoveBack ()
 Reverses the direction of the enumerator to the previous element within the list. /summary> returns> Returns true if the enumerator has more elements when traversing the index in the reverse direction, otherwise it returns false. More...
 
void Remove ()
 

Detailed Description

Enumerates the elements of an index.

Additionally to the functionalities inherited from IEnumerator<T>, it provides the backward direction (MoveBack) and the removal from the underlying IIndex of the element at the current position of the enumeration (Remove).

Definition at line 30 of file IIndexEnumerator.cs.

Member Function Documentation

bool Deveel.Data.Index.IIndexEnumerator< T >.MoveBack ( )

Reverses the direction of the enumerator to the previous element within the list. /summary> returns> Returns true if the enumerator has more elements when traversing the index in the reverse direction, otherwise it returns false.

summary> Removes from the underlying index the current element this enumerator is positioned at. /summary>

This method can be called only once per call to IEnumerator<T>.Current. The behavior of an iterator is unspecified if the underlying index is modified while the iteration is in progress in any way other than by calling this method.

Some implementations of IIndexEnumerator<T> may choose to not implement this method, in which case an appropriate exception is generated.

Implemented in Deveel.Data.Index.BlockIndexBase< T >.Enumerator.

void Deveel.Data.Index.IIndexEnumerator< T >.Remove ( )

The documentation for this interface was generated from the following file: