GroupalFenwickTreeMixin<T> mixin
- Implemented types
-
- Mixin Applications
-
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.
override
-
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
.
override