Class BinaryIndexedTree<K, V>
Inheritance
System.Object
BinaryIndexedTree<K, V>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.Web.dll
Syntax
public class BinaryIndexedTree<K, V>
where K : IEnumerable<bool>
Type Parameters
Constructors
BinaryIndexedTree(BinaryIndexedTree<K, V>.Node[], V[])
Declaration
public BinaryIndexedTree(BinaryIndexedTree<K, V>.Node[] nodes, V[] values)
Parameters
Fields
Nodes
Declaration
public readonly BinaryIndexedTree<K, V>.Node[] Nodes
Field Value
Values
Declaration
public readonly V[] Values
Field Value
Properties
Item[K]
Declaration
public virtual V this[K key] { get; }
Parameters
Type |
Name |
Description |
K |
key |
|
Property Value
Methods
Find(K, UInt32)
Declaration
protected V Find(K key, uint offset)
Parameters
Type |
Name |
Description |
K |
key |
|
System.UInt32 |
offset |
|
Returns
FindIndex(K, UInt32)
Declaration
protected int FindIndex(K key, uint offset)
Parameters
Type |
Name |
Description |
K |
key |
|
System.UInt32 |
offset |
|
Returns
Type |
Description |
System.Int32 |
|
FindOffset(K, ref UInt32)
Declaration
protected bool FindOffset(K key, ref uint offset)
Parameters
Type |
Name |
Description |
K |
key |
|
System.UInt32 |
offset |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods