Method Advance
Advance(Int32)
Advances to the first match beyond the current whose document number is
greater than or equal to a given target.
The implementation uses SkipTo(Int32).
Declaration
public override int Advance(int target)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | target | The target document number. |
Returns
Type | Description |
---|---|
System.Int32 | the matching document or -1 if none exist. |