Represents a list of fuzzy stream tokens (IFuzzyStreamToken). Each token of the list can represent one atomic string in the stream being parsed or represent an actual fuzzy set or another list (of lists, of lists, etc).
Namespace: FuzzyInterfaces
Delphi
|
type
IFuzzyStreamTokenList = interface( IBaseStreamTokenList )
['{FC119D38-7F42-433A-9E04-A0577D6E188C}']
end;
|
|
Name
|
Description
|
|
Value[Integer]
|
Provides access to each token in the list. Use Value to directly access a token in the list. Index identifies each token by its position in the list, where 0 is the first item, 1 is the second item, and so on.
|
Top
|
|
Name
|
Description
|
|
Add(IFuzzyStreamToken)
|
Adds a token to the list. Call Add to add a token to the list. The Add method returns the Index where the new Item is located
|
|
Append(IFuzzyStreamTokenList)
|
Appends or adds the tokens in the List parameter to the current list. The tokens are added to the end of the current list.
|
|
Equals(IFuzzyStreamTokenList)
|
Overloaded. Returns TRUE if the List parameter's tokens equals the current list. Not only the number of tokens in the list must match, but also each IFuzzyStreamToken.Equals must return true. Otherwise, this method returns False.
|
|
First
|
Returns the first token in the list
|
|
Get(Integer)
|
Accessor method for the Value property
|
|
IndexOf(IFuzzyStreamToken)
|
Returns the index of an token. Call IndexOf to obtain the index of an token. If the Item is not found, this method returns -1.
|
|
Insert(Integer,IFuzzyStreamToken)
|
Inserts a token into the list at a specified position. Call Insert to insert a token into the list. Item is the token to insert, and Index indicates the position (zero-offset) where the token should be added
|
|
Last
|
Returns the last token in the list
|
|
Put(Integer,IFuzzyStreamToken)
|
Accessor method for the Value property
|
|
Remove(IFuzzyStreamToken)
|
Deletes the first reference to the Item parameter (Token) from the Value array. Call Remove to remove a specific item from the Value array when its index is unknown. The value returned is the index of the item in the Items array before it was removed.
|
Top
|
Like any list interface, it provides properties and methods to:
Add or delete the tokens in the list.
Rearrange the tokens in the list.
Locate and access tokens in the list.
Sort the tokens in the list.
|