Iterators.

Map(IEnumerator, IFunction4) Method

Summary

Returns a new iterator which yields the result of applying the function to every element in the original iterator.

Syntax

public static IEnumerator Map(IEnumerator iterator, IFunction4 function)

Remarks

Returns a new iterator which yields the result of applying the function to every element in the original iterator. Db4objects.Db4o.Foundation.Iterators.Skip can be returned from function to indicate the current element should be skipped.

Parameters

Name Type Description
iterator IEnumerator
function IFunction4

Return Value

Type Description
IEnumerator