Class BTree<TKey, TValue>.FrozenNodeIterator
Inheritance
BTree<TKey, TValue>.FrozenNodeIterator
Assembly: ZoneTree.dll
Syntax
public sealed class BTree<TKey, TValue>.FrozenNodeIterator
Constructors
|
Improve this Doc
View Source
FrozenNodeIterator(LeafNode)
Declaration
public FrozenNodeIterator(BTree<TKey, TValue>.LeafNode leafNode)
Parameters
Properties
|
Improve this Doc
View Source
CurrentKey
Declaration
public TKey CurrentKey { get; }
Property Value
|
Improve this Doc
View Source
CurrentValue
Declaration
public TValue CurrentValue { get; }
Property Value
|
Improve this Doc
View Source
HasCurrent
Declaration
public bool HasCurrent { get; }
Property Value
|
Improve this Doc
View Source
Node
Declaration
public BTree<TKey, TValue>.LeafNode Node { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetFirstGreaterOrEqualPosition(IRefComparer<TKey>, in TKey)
Finds the position of element that is greater or equal than key.
Declaration
public int GetFirstGreaterOrEqualPosition(IRefComparer<TKey> comparer, in TKey key)
Parameters
Type |
Name |
Description |
IRefComparer<TKey> |
comparer |
The key comparer
|
TKey |
key |
The key
|
Returns
Type |
Description |
int |
The length of the segment or a valid position
|
|
Improve this Doc
View Source
GetLastSmallerOrEqualPosition(IRefComparer<TKey>, in TKey)
Finds the position of element that is smaller or equal than key.
Declaration
public int GetLastSmallerOrEqualPosition(IRefComparer<TKey> comparer, in TKey key)
Parameters
Type |
Name |
Description |
IRefComparer<TKey> |
comparer |
The key comparer
|
TKey |
key |
The key
|
Returns
Type |
Description |
int |
-1 or a valid position
|
|
Improve this Doc
View Source
GetNextNodeIterator()
Declaration
public BTree<TKey, TValue>.FrozenNodeIterator GetNextNodeIterator()
Returns
|
Improve this Doc
View Source
GetPreviousNodeIterator()
Declaration
public BTree<TKey, TValue>.FrozenNodeIterator GetPreviousNodeIterator()
Returns
|
Improve this Doc
View Source
HasNext()
Declaration
Returns
|
Improve this Doc
View Source
HasPrevious()
Declaration
public bool HasPrevious()
Returns
|
Improve this Doc
View Source
Next()
Declaration
Returns
|
Improve this Doc
View Source
Previous()
Declaration
Returns
|
Improve this Doc
View Source
SeekBegin()
Declaration
|
Improve this Doc
View Source
SeekEnd()
Declaration
|
Improve this Doc
View Source
SeekFirstKeyGreaterOrEqual(IRefComparer<TKey>, in TKey)
Declaration
public BTree<TKey, TValue>.FrozenNodeIterator SeekFirstKeyGreaterOrEqual(IRefComparer<TKey> comparer, in TKey key)
Parameters
Returns
|
Improve this Doc
View Source
SeekLastKeySmallerOrEqual(IRefComparer<TKey>, in TKey)
Declaration
public BTree<TKey, TValue>.FrozenNodeIterator SeekLastKeySmallerOrEqual(IRefComparer<TKey> comparer, in TKey key)
Parameters
Returns