BitSet class abstract
An integer-indexed collection to test membership status.
- Implementers
Constructors
- BitSet()
Properties
- cardinality → int
-
The number of members.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- length → int
-
The largest addressable or contained member of the BitSet:
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.
-
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.
-
clone(
) → BitSet - Creates a copy of the current BitSet.
-
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.
override
-
operator [](
int index) → bool -
Whether the value specified by the
index
is member of the collection.