IQueue4.

NextMatching(IPredicate4) Method

Summary

Returns the next object in the queue that matches the specified condition.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Foundation
Containing Type
IQueue4

Syntax

Object NextMatching(IPredicate4 condition)

Remarks

Returns the next object in the queue that matches the specified condition. The operation is always NON-BLOCKING.

Parameters

Name Type Description
condition IPredicate4 the object must satisfy to be returned

Return Value

Type Description
Object the object satisfying the condition or null if none does