RangeSet class

A range-based BitSet implementation.

Inheritance

Constructors

RangeSet.fromSortedRangeLength(List<int> _list)

Properties

cardinality int
The number of members.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
length int
The largest addressable or contained member of the BitSet:
no setteroverride
rangeLengthValues List<int>
The list of range+length encoded ranges, in a sorted order.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asIntIterable() Iterable<int>
Returns an iterable wrapper of the BitSet that iterates over the index members that are set to true.
override
asUint32Iterable() Iterable<int>
Returns an iterable wrapper that returns the content of the BitSet as 32-bit int blocks. Members are iterated from a zero-based index and each block contains 32 values as a bit index.
override
clone() BitSet
Creates a copy of the current BitSet.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) bool
Whether the value specified by the index is member of the collection.
override