C# Class Encog.MathUtil.LIBSVM.SupportClass.Tokenizer

Inheritance: IEnumerator
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
HasMoreTokens ( ) : bool

Determines if there are more tokens to return from the source string

MoveNext ( ) : bool

Performs the same action as HasMoreTokens.

NextToken ( ) : String

Returns the next token from the token list

NextToken ( String delimiters ) : String

Returns the next token from the source string, using the provided token delimiters

Reset ( ) : void

Does nothing.

Tokenizer ( String source ) : System

Initializes a new class instance with a specified string to process

Tokenizer ( String source, String delimiters ) : System

Initializes a new class instance with a specified string to process and the specified token delimiters to use

Tokenizer ( String source, String delimiters, bool includeDelims ) : System

Initializes a new class instance with a specified string to process, the specified token delimiters to use, and whether the delimiters must be included in the results.

Private Methods

Method Description
nextToken ( char delimiters ) : String

Method Details

HasMoreTokens() public method

Determines if there are more tokens to return from the source string
public HasMoreTokens ( ) : bool
return bool

MoveNext() public method

Performs the same action as HasMoreTokens.
public MoveNext ( ) : bool
return bool

NextToken() public method

Returns the next token from the token list
public NextToken ( ) : String
return String

NextToken() public method

Returns the next token from the source string, using the provided token delimiters
public NextToken ( String delimiters ) : String
delimiters String String containing the delimiters to use
return String

Reset() public method

Does nothing.
public Reset ( ) : void
return void

Tokenizer() public method

Initializes a new class instance with a specified string to process
public Tokenizer ( String source ) : System
source String String to tokenize
return System

Tokenizer() public method

Initializes a new class instance with a specified string to process and the specified token delimiters to use
public Tokenizer ( String source, String delimiters ) : System
source String String to tokenize
delimiters String String containing the delimiters
return System

Tokenizer() public method

Initializes a new class instance with a specified string to process, the specified token delimiters to use, and whether the delimiters must be included in the results.
public Tokenizer ( String source, String delimiters, bool includeDelims ) : System
source String String to tokenize
delimiters String String containing the delimiters
includeDelims bool Determines if delimiters are included in the results.
return System