GroupalFenwickTreeImpl<T> class

Use this when you have a group.

Mixed in types

Constructors

GroupalFenwickTreeImpl({required FenwickTreeGroup<T> algebra, required int size})

Properties

algebra FenwickTreeGroup<T>
final
array List<T>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

increase({required int index, required T value}) → void
Increases the value at index by value.
inherited
length() int
Returns the amount of items that this contains.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
range_sum({required int index_from, required int index_to}) → T
Returns the sum between two indices.
inherited
sum({required int index_to}) → T
Returns the sum up to the given index index_to.
inherited
toString() String
A string representation of this object.
inherited
update({required int index, required T value}) → void
Sets the value at index to be value.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited