IsoBitSet class

A port of the subset of java.util.BitSet the ISO 8583 bitmap code uses.

As in the Java implementation, bit 0 is never used for a field: the bitmap stores field n at bit n.

Constructors

IsoBitSet()
IsoBitSet.from(Iterable<int> bits)
factory

Properties

cardinality → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
length → int
The index of the highest set bit plus one, or 0 when nothing is set.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear(int bit) → void
clearRange(int fromInclusive, int toExclusive) → void
copy() → IsoBitSet
get(int bit) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
range(int fromInclusive, int toExclusive) → IsoBitSet
A new set holding bits [fromInclusive, toExclusive) shifted down so that fromInclusive becomes bit 0 — the Java BitSet.get(int, int) contract.
set(int bit, [bool value = true]) → void
toSortedList() → List<int>
toString() → String
A string representation of this object.
override

Operators

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