EmptySet class

Memory-efficient empty BitSet.

Implemented types

Constructors

EmptySet()
const

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
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