Return the corrected offset. If {@link #input} is a {@link CharStream} subclass this method calls {@link CharStream#CorrectOffset}, else returns
CopyC#
currentOff
.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
protected internal int CorrectOffset(
	int currentOff
)
Visual Basic
Protected Friend Function CorrectOffset ( _
	currentOff As Integer _
) As Integer
Visual C++
protected public:
int CorrectOffset(
	int currentOff
)

Parameters

currentOff
Type: System..::..Int32
offset as seen in the output

Return Value

corrected offset based on the input

See Also