Enhanced C#
Language of your choice: library documentation
|
Enumerates key-value pairs in a CPStringTrie. More...
Enumerates key-value pairs in a CPStringTrie.
Reading the key is more expensive than reading the value because the key must be decoded from the bytes it is made up of. If you call CurrentValue instead of Current or CurrentKey, the work of decoding the key will be avoided. If you only need to enumerate the values, enumerate the Values collection instead of the trie class itself.
Properties | |
new KeyValuePair< string, TValue > | Current [get] |
new TValue | CurrentValue [get] |
new string | CurrentKey [get] |
Properties inherited from Loyc.Collections.Impl.CPEnumerator< TValue > | |
T | Current [get] |
bool | IsValid [get] |
Returns true if this enumerator points to an item and Current is valid. More... | |
InternalList< byte > | CurrentKey [get] |
Protected Member Functions | |
Enumerator (CPTrie< TValue > trie) | |
Additional Inherited Members | |
Public Member Functions inherited from Loyc.Collections.Impl.CPEnumerator< TValue > | |
bool | MoveNext () |
bool | MovePrev () |
void | Reset () |
void | Dispose () |
Protected fields inherited from Loyc.Collections.Impl.CPEnumerator< TValue > | |
T | CurrentValue |
CPTrie< T > | _trie |