CountedArrayView<T> class

Annotations

Constructors

CountedArrayView({required List<T> arr, required int getCount(T)})

Properties

arr List<T>
final
getCount int Function(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

absoluteToRelativeIndex({required int absoluteIndex}) → Tuple2<T, int>
length() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
relativeToAbsoluteIndex(T section, {required int relativeIndex}) int
sectionStartIndex(T targetSection) int
toString() String
A string representation of this object.
inherited

Operators

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