C# Class ConsoleApplication1.Program.FastReplacer

Inheritance: IDisposable
Datei anzeigen Open project: ChrisEelmaa/StackOverflow

Public Properties

Property Type Description
FoundIndexes int

Public Methods

Method Description
Dispose ( ) : void
FastReplacer ( string input, string oldValue ) : System
Replace ( char outputPtr, int outputLength, string newValue ) : void

Private Methods

Method Description
BuildMatchedIndexes ( ) : void

KMP?!

Copy ( char sourcePtr, char targetPtr ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FastReplacer() public method

public FastReplacer ( string input, string oldValue ) : System
input string
oldValue string
return System

Replace() public method

public Replace ( char outputPtr, int outputLength, string newValue ) : void
outputPtr char
outputLength int
newValue string
return void

Property Details

FoundIndexes public_oe property

public int FoundIndexes
return int